I have a BeagleBone Rev5 and the boot process takes quite some time, with a bunch of errors output to the serial console. I’ve searched around trying to figure out a way to reset the NAND back to factory default; using u-boot “env default -f” and then “saveenv” results in a memory not aligned error. This only happens during a cold boot, if I do a reboot from the Angstrom command line it seems to load everything first step without going through what appears to be this sequence of errors:
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 255)
Texas Instruments tection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: Hg Code selected
No found!!!
0 MiB
MMC: C: 0, OMAP SD/MMC: 1
*** Warning - readenv() ng default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environmenttxt
Loading file “/boot/uImage” from mmc device 0:2 xxa2
3485944 bytes read
Booting kernel from Legacy Image at 80007fc0 …
Image Name: Angstrom/3.2.30/beaglebone
Image Type: ARM Linux Kernel Image (uncompressed)ize: 3485880 Bytes = 3B
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum …
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - riled, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …Loading file “/boot/uImage” from mmc device 0:2
3485944 bytes read
Booting kernel from Legacy Image at 80007fc0 …
Image Name: Angstrom/3.2.30/
Image Type: ARM Linux Kernel mpressed)
Data Size: 34858803 MiB
Load Address: Entry Point: 8000800
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2Cready
DRWARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
Loading file “/boot/uImage” from mmc device 0:2 xxa2
3485944 bytes read
Booting kernel from Legacy Image at 80007fc0 …
Image Name: Angstrom/3.2.30/beaglebone
Image Type: Kernel Image (uncompressed)
D 3485880 Bytes = 3.3 MiB
Load 08000
E
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
Loading file “/boot/uImage” from mmc device 0:2 xxa2
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
Loading file “/boot/uImage” from mmc de
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
readig
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environment from uEnv.txt
Importing environLoading file “/boot/uImage” from mmc device 0:2 xxa2
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
AND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
33 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
Loading file “/boot/uImage” from mmc device 0:2 xxa2
3485944 bytes read
Booting kernel from Legacy Image at 80007fc0 …
Image Name: Angstrom/3.2.30/beaglebone
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3485880 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
XIP Kernel Image … OK
OK
Starting kernel …
Uncompressing Linux… done, booting the kernel.