From Qi-Hardware
(Redirected from Uboot)
Jump to: navigation, search

The bootloader is a small program to load kernel and pass kernel command line to kernel. The NanoNote use U-Boot as bootloaders.

[edit] General

More information on u-boot can be found at

[edit] Compile

in openwrt run:

$make package/uboot-xburst/compile V=99

it's will generate two files in bin/xburst :

  1. openwrt-xburst-qi_lb60-u-boot.bin
  2. openwrt-xburst-qi_lb60-u-boot-for-xbboot.bin

[1] is for the NanoNote nand flash. to reflash the uboot to nanonote, first boot nanonote to usbboot mode by

$sudo usbboot -c "boot;nprog 0 openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n

[2] is for the NanoNote ram. we can use xbboot to upload this image to nanonote. first boot nanonote to usbboot mode then run:

$sudo xbboot -u 0x80100000 /PATH/TO/openwrt-xburst-qi_lb60-u-boot-for-xbboot.bin

[edit] Boot Mode

  • [POWER] + [U] goto USB BOOT mode
  • [POWER] + [S] enable serial console. bootloader wait input from Serial Console for 3 secs.
  • [POWER] + [M] boot from SD card. load the kernel form sd card partitions 1 with kernel name uImage. boot the ROOTFS at SD card second partition and this partition must be ext2, after this commit, 2010-05-30 16:15:38. boot from sd card will load kernel from first ext2 partition with /boot/uImage.
Personal tools