WinCE6 Superboot resolution?

trialsrideraz
Hello,

Very frustrating problem with the newer mini2440!!!

Using a completely fresh install of the Platform builder with appropriate
roll-ups, i have re attempted getting the Superboot working with the latest
BSPs. I have tried compiling up a fresh build with no changes other than
setting the options.h file to use the LCD_A70 instead of the default
LCD_P43.

The full build works without errors and produces the NK.BIN file.

I have Superboot-2440 V1.3a on my board, with the friendlyarm.ini file as
follows:
<snip>
#This line cannot be removed. by FriendlyARM(www.arm9.net)

USBMode = No
Action = Install
OS = wince6
VerifyNandWrite = Yes

LowFormat = No
Status Type = Beeper| LED

# Windows CE 6 part
WindowsCE6-Bootloader = wince6/en/nboot_A70.bin
WindowsCE6-BootLogo = wince6/bootlogo.bmp
WindowsCE6-InstallImage = wince6/en/NK.bin
<snip>

Here is what happens:
1-move switch to NOR, insert SDHC card, power up
2-program all installs correctly with the following messages:
<snip>
Superboot-2440 V1.3a(20131213) by FriendlyARM

Booting from NOR
Try to find SD card.... Found.
Installing bootloader...
Installing bootloader  succeed
Installing bootloader succeed
Installing CE Logo...
Width, Height, BPP is 240 320 24
Logo Saved
Installing CE Logo succeed
Installing NK.bin...
Unpacking NK.bin...

Unpacked NK.bin Finished
Installing unpacked NK.bin...
Skip block 0x41
Installing NK.bin succeed
Installing Windows CE 6 succeed
<snip>

3-move switch to NAND, reset or power up, the WinCE6 environment powers up
for the first time no problems.
4-power off the mini2440 and then power back on - the yellow progress bar
moves to the right and hangs right there.

(This is a HUGE problem right now and i cannot get further than this)
I have also tried using the latest BSP (Mini2440-CE6-Suite-20141011) and it
will NOT BUILD cleanly.

I have also tried using the following in my friendlyarm.ini file in order
to try Superboot2440.bin:
<snip>
#This line cannot be removed. by FriendlyARM(www.arm9.net)

USBMode = No
Action = Install
OS = wince6
VerifyNandWrite = Yes

LowFormat = No
Status Type = Beeper| LED

# Windows CE 6 part
WindowsCE6-Bootloader = Superboot2440.bin
WindowsCE6-BootLogo = wince6/bootlogo.bmp
WindowsCE6-InstallImage = wince6/en/NK.bin
#WindowsCE6-runImage = wince6/en/NK.bin
<snip>

when i try the same sequence as above, it also works the very first time,
but when i try to power up a second time, i get a continuing reset problem
like this:
<snip>
Superboot-2440 V1.3a(20131213) by FriendlyARM

Booting from NAND
Launch Windows CE...
undefined instruction
pc : [<0000009c>]          lr : [<33f96c70>]
sp : 33f3dbe4  ip : 30200000     fp : 00000000
r10: c02ab5bc  r9 : 00000064     r8 : 33f3ffe0
r7 : 00000000  r6 : 33fa7654     r5 : 00000001  r4 : 30200000
r3 : 00000000  r2 : 00000000     r1 : 00000005  r0 : 4c000014
Flags: NzCv  IRQs on  FIQs on  Mode USER_32
Resetting CPU ...

resetting ...


Superboot-2440 V1.3a(20131213) by FriendlyARM

Booting from NAND
Launch Windows CE...
undefined instruction
pc : [<0000009c>]          lr : [<33f96c70>]
sp : 33f3dbe4  ip : 30200000     fp : 00000000
r10: c02ab5bc  r9 : 00000064     r8 : 33f3ffe0
r7 : 00000000  r6 : 33fa7654     r5 : 00000001  r4 : 30200000
r3 : 00000000  r2 : 00000000     r1 : 00000005  r0 : 4c000014
Flags: NzCv  IRQs on  FIQs on  Mode USER_32
Resetting CPU ...

resetting ...
<snip>

So as it stands right now i am completely stuck with this Superboot
problem. I have waded through a lot of the topics in here and in the WinCE
folder on the forum and have not seen any resolution to this problem.  Does
anyone have any solution?  I have also tried the stock images from the CD
rom and they also do the very same thing.

ANY HELP WOULD BE APPRECIATED!!!

Best regards,

tkr

trialsrideraz
UPDATE on this problem...

This was a comedy of errors, but the ultimate source of the solution came
down to this (in case anyone else runs into it):

System:
-Fresh Virtualbox with 32 bit Win7 install
-Fresh Install of Platform builder and required updates
-Microsoft security essentials running

2440 System:
-2440
-A70 LCD with touchscreen

The above problem was due to my supplier getting me an older copy of the
BSP (which was equivalent to the xxx-Suite-1226 BSP).

Once i switched to the 1401 BSP or the 20141011 BSP (which are identical
BTW), i ended up with a build error.  After reviewing some of the forum
articles and noticing something on the virus scanner, i TURNED OFF real
time protection on Microsoft Security Essentials.

This allowed the build to complete without errors and i was able to use
BOTH bootloaders (NBOOT_A70 and Superboot2440)

Once built with the latest BSP, the system would boot for a second time.

The primary change in the BSPs is in FMD.cpp
old BSP (line 67):
#define KEEP_BLOCKS (19)
new BSP (line 67):
#define KEEP_BLOCKS (19 + (32 * 1024 * 1024) / (128 * 1024))

the other changes were in bak_hw.cpp/h, bak_io.cpp, and s3c2440a_lcd.h all
having to do with backlight changes and new LCD support.

Needless to say, all is back operational at this point.

trialsrideraz

Vishad
Hi trialsrideraz:
I am having same problem with new mini2440 with old Win CE image we used
before successfully. It boots fine first time but not second time. It hang
after progress bar is finished. I was using superboot_2440 and nboot_w35.
Where did you get this new BSP?

Vishad
Found the BSP. It was in new DVD. I will try rebuilding it and see if that
issue disappear.