how compile and reflash ben

Xiangfu Liu xiangfu at
Thu Aug 6 23:48:34 EDT 2009

Hi there

there is some update about how to reflash Ben(本) Nanonote.

=serial console=
  at the back of Ben Nanonote, there is "GND", "TXD" and "RXD", 
  you can get serial output from those pins 
  you need a TTL <-> RS232 converter. because the Ben Nanonote serial 
  console is TTL. here[1] is the serial PIN in the board.

  in openWRT menuconfig-->Target Images-->Build U-Boot bootloader -->
  U-Boot target board (NEW) --> input 'qi_lb60

    $ git clone git://[2] <git://>
    $ git checkout --track -b x-burst origin/x-burst
    $ make menuconfig
         (select 'XBurst JZ47x0 [2.6]' in 'Target System')
    $ make
  then you will get toolchain under /PATH/TO/openwrt-x-burst/staging_dir/

  and u-boot kernel rootfs in /PATH/TO/openwrt-x-burst/bin
  in /PATH/TO/openwrt-x-burst/bin there is openwrt-xburst-rootfs.tgz
  format you sd card to ext2
     $ sudo tar zxvf openwrt-xburst-rootfs.tgz -C /media/disk
=xburst-tools (usbboot tools)=
  you can get source code at git://[3] <git://>
    $ cd /PATH/TO/xburst-tools/usbboot
    $ ./ && ./configure && make && sudo make install
  then you got the 'usbboot' command. that is for the reflash.

How To Reflash
1. plug the Ben to your computer. direct connect. no usb hub.
2. short the two pin ('boot from usb' show in [1])
3. press 'RESET' at the back of Ben
4. in you computer run [6] and [7]. then you flashed the bootloader and kernel
   to nand flash. 
5. rootfs: 
   change commandline "root=/dev/mmcblk0p1" to your sd partition.
6. insert sd card, press 'RESET' to boot Ben.

[2] here is the web site
     now we put the code in
[3] in folder 'usbboot', here is the tar package and Debian package.

sudo ../usbboot/src/usbboot -c "\
nprog 0 $U_BOOT 0 0 -n"

sudo usbboot -c "boot"
sudo usbboot -c "nprog $START_PAGE $KERNEL  0 0 -n"

we are not work on this kernel anymore. 
now we are focus on openwrt. 
put all the source code in openwrt[2].
this is just let you know :-)
a work kernel (2.6.24) and rootfs:
  here[5] is the kernel GIT URL. this kernel is work in Ben Nanonote.
  yes. there is another kernel in openWRT(2.6.28), it's will work later :-)
    $ make qi_lb60_defconfig
    $ make uImage
  there is 'arch/mips/boot/uImage' for Ben.
  the [8] is a work rootfs for 2.6.24 kernel

[5] git://
    only one master branch in kernel git. so you can just

More information about the discussion mailing list