It seems that Nboot stores Uboot in the Kernel partition and expects it to be there.
I had some odd behavior when updating the Kernel from Uboot so i did a little testing:
Code
- U-Boot 2011.12 (Aug 28 2013 - 14:22:26)
- CPU: Freescale VyBrid 600 family rev1.1 at 0 MHz
- Board: Vybrid
- DRAM: 256 MiB
- WARNING: Caches not enabled
- board_init: using internal PLL.
- NAND: 128 MiB
- MMC: FSL_SDHC: 0
- Bad block table found at page 65472, version 0x01
- Bad block table found at page 65408, version 0x01
- In: serial
- Out: serial
- Err: serial
- Net: FEC0, FEC1
- Hit any key to stop autoboot: 0
- Vybrid U-Boot > mtdparts
- device nand0 <NAND>, # parts = 5
- #: name size offset mask_flags
- 0: Nboot 0x00040000 0x00000000 1
- 1: Uboot 0x00080000 0x00040000 1
- 2: UbootEnv 0x00040000 0x000c0000 0
- 3: Kernel 0x00400000 0x00100000 0
- 4: TargetFS 0x07b00000 0x00500000 0
- active partition: nand0,0 - (Nboot) 0x00040000 @ 0x00000000
- defaults:
- mtdids : nand0=NAND
- mtdparts: mtdparts=NAND:256k(Nboot)ro,512k(Uboot)ro,256k(UbootEnv),4m(Kernel),-(TargetFS)
Erase the Uboot partition and everything is fine:
Code
- Vybrid U-Boot > nand erase.part Uboot
- NAND erase.part: device 0 offset 0x40000, size 0x80000
- Erasing at 0xa0000 -- 100% complete.
- OK
- Vybrid U-Boot > reset
- resetting ...
- U-Boot 2011.12 (Aug 28 2013 - 14:22:26)
- CPU: Freescale VyBrid 600 family rev1.1 at 0 MHz
- Board: Vybrid
- DRAM: 256 MiB
- WARNING: Caches not enabled
- board_init: using internal PLL.
- NAND: 128 MiB
- MMC: FSL_SDHC: 0
- Bad block table found at page 65472, version 0x01
- Bad block table found at page 65408, version 0x01
- In: serial
- Out: serial
- Err: serial
- Net: FEC0, FEC1
- Hit any key to stop autoboot: 0
Erase the Kernel partition and Uboot is missing:
Code
- Vybrid U-Boot > nand erase.part Kernel
- NAND erase.part: device 0 offset 0x100000, size 0x400000
- Erasing at 0x4e0000 -- 100% complete.
- OK
- Vybrid U-Boot > reset
- resetting ...
- No valid bootloader
- F&S Nand Loader VN04 built Jul 17 2013 12:10:12
- armStoneA5 Rev. 1.10
- 256MB RAM (1 chip) 128MB FLASH 396MHz no L2
- booted primary image from page 0
- Please select action
- 'd' -> Serial download of bootloader
- 'E' -> Erase flash
- 'B' -> Show bad blocks
- Use NetDCUUsbLoader for USB download
As far as i can tell something is a little mixed up here or am i missing something?
A fast solution would probably be to cerate an additional partition for the Kernel.
Best regards
Alex