
IdeaBoxx™Product Manual – © 2015 8
Bootloader
The bootloader source code is in /opt/jade/bsp303/sources/u-boot. To rebuild it, use the ./build.sh shell script
provided in the source code folder. The result will be multiple files in the top-level source code folder. The new binary
bootloader file will be named /opt/jade/bsp303/sources/u-boot/u-boot.bin.
To program the bootloader into the Jade board:
1. Turn on power to the IdeaBoxx board.
2. Press a button to stop the bootloader.
3. Type tftp 40000000 u-boot.bin
4. Type erase 10000000 1002FFFF
5. Type cp.b 40000000 10000000 $filesize
6. Type reset and Jade will reset and execute the new bootloader.
Linux Kernel
The Linux kernel source tree is in /opt/jade/bsp303/sources/xxsvideo/linux-3.0.3.
Before reconfiguring or building the kernel for the first time, the user must execute make jade-ideaboxx_defcong.
To reconfigure the Linux kernel (e.g., to add or remove drivers), execute make menucong. To rebuild it, change to the top-
level directory of the kernel source tree and execute ./build.sh. This will create a new kernel as
/opt/jade/bsp303/sources/xxsvideo/linux-3.0.3/arch/arm/boot/uImage. The new kernel will also be
copied to /tftpboot/uImage303-$YYYYMMDD-HHMM where the date and time are given as a four-digit year and two-
digit month, day, hour (24-hour format) and minute. A symbolic link to that file is also created as /tftpboot/uImage.
To program the new kernel into the Jade board:
1. Turn on power to the IdeaBoxx board.
2. Press a button to stop the bootloader.
3. Type tftp 40000000 uImage
4. Type erase 10060000 102FFFFF
5. Type cp.b 40000000 10060000 $filesize
6. Type reset and Jade will reset and execute the new Linux kernel.
Root Filesystem
The root filesystem is in /opt/jade/bsp303/rootfs-final. To build a new root filesystem image suitable to be
programmed into Flash, change to the root filesystem directory and execute ./build.sh. This will create a new root
filesystem binary image as
/opt/jade/bsp303/sources/xxsvideo/linux-3.0.3/arch/arm/boot/uImage. The image will also be copied
to /tftpboot/rootfs303-$YYYYMMDD-HHMM where the date and time are given as four-digit year and two-digit month,
day, hour (24-hour format) and minute. A symbolic link to that file is also created as /tftpboot/rootfs.bin.
To program the new image into the Jade board:
Turn on power to the IdeaBoxx board.
1. Press a key in the serial terminal program to stop the bootloader.
2. Type tftp 40000000 rootfs.bin
3. Type erase 10300000 11dfffff
4. Type cp.b 40000000 10300000 $filesize
5. Type reset to reset Jade and boot the new filesystem.