[Gta04-owner] ANN: new versions of U-Boot, boot.scr and NAND flashing tools

Dr. H. Nikolaus Schaller hns at goldelico.com
Mon Mar 12 10:46:18 CET 2012


I have updated U-Boot and boot.scr:

	http://download.goldelico.com/gta04/20120312-GTA04-HW-Tester+NAND-Flash/

These should be compatible with Debian/LXDE and QtMoko and with all other distros.

New features:
* display flicker of U-Boot splash image fixed (DM3730 has a different pixel clock divisor than OMAP3530)
* automatically flashes X-Loader, U-Boot, splash images, boot.scr to NAND on first boot from SD card
* device then shows signs of life even without SD card
* experimental shell script to clone/flash the current kernel / rootfs into NAND (flash-nand)
* experimental shell script to format a microSD card and clone the current MLO / U-Boot / boot.scr / kernel / rootfs onto (makesd)

This should heavily simplify development of new systems
and allows us to ship devices with a preinstalled NAND image.
And, it finally simplifies generating bootable microSD cards.

Short operation how-to:
* if no SD is inserted, boots from NAND (if possible)
* if SD is inserted, boot.scr, kernel & rootfs come from SD card (if found), from NAND if not found on SD
* if the AUX button is pressed, MLO and U-Boot also come from SD (if inserted)

Notes:
* a different boot.scr on SD may overwrite X-Loader and U-Boot
* to erase the nand, break into U-Boot and "nand erase.chip"
* to force a reflash of X-Loader&U-Boot, erase the NAND range 0x26000 only
* or under Linux: "flash_eraseall /dev/mtd2"
* the boot arguments are choosen based on the location where the uImage is found
* i.e. SD card ext2/3 or NAND jffs2
* this means it needs manual U-Boot modifications to use UBIFS


Nikolaus



More information about the Gta04-owner mailing list