The toolchain will be installed during the build process automatically to
~/opt/crosstool/gcc-4.2.3-glibc-2.7
If you don’t like this destination, please change it in the script latest.sh of the crosstool-package AND in config/config.sh of the build system.
Currently the following flash partition is used. This may change e.g. to reserve space for a splash-image:
cat /proc/mtd dev: size erasesize name mtd0: 00020000 00020000 "u-boot" mtd1: 00020000 00020000 "u-boot var" mtd2: 00200000 00020000 "kernel" mtd3: 01dc0000 00020000 "rootfs"
To install the kernel to flash, put the image (images/uImage-xxsvideo-jadeevalkit-0.8.4.bin) to your tftpboot-directory and type on the u-boot console:
xxsvideo> set autostart no xxsvideo> tftpboot 0x40500000 uImage-xxsvideo-jadeevalkit-0.8.4.bin xxsvideo> erase 0x10040000 0x1023ffff xxsvideo> cp.b 0x40500000 0x10040000 $(filesize)
To install the kernel inside the running linux, do:
flashcp --verbose /tmp/uImage /dev/mtd2
To install the rootfile-system to flash, put the image (images/rootfs-xxsvideo-jadeevalkit-0.8.4.bin) to your tftpboot-directory and type on the u-boot console:
xxsvideo> set autostart no xxsvideo> tftpboot 0x40500000 rootfs-xxsvideo-jadeevalkit-0.8.4.bin xxsvideo> erase 0x10240000 0x11ffffff xxsvideo> cp.b 0x40500000 0x10240000 $(filesize)
To install the rootfile-system inside the running linux, do:
flashcp --verbose /tmp/rootfs-xxsvideo-jadeevalkit-0.8.4.bin /dev/mtd3
You may use the BDI 2000 program the u-boot image (images/u-boot-xxsvideo-jadeevalkit-0.8.4.bin) into the XXSvideo:
BDI-ARM> erase 0x10000000 0x20000 2 BDI-ARM> prog 0x10000000 u-boot-xxsvideo-jadeevalkit-0.8.4.bin
The first command erases two flash sectors: One for the u-boot image and one for the u-boot configuration area.
If there is already a u-boot running on the device AND ethernet is working, you may erase the existing one and program the u-boot image with the following steps:
xxsvideo> set autostart no xxsvideo> protect off 1:0 xxsvideo> tftpboot 0x40500000 u-boot-xxsvideo-jadeevalkit-0.8.4.bin xxsvideo> erase 0x10000000 0x1001ffff xxsvideo> cp.b 0x40500000 0x10000000 $(filesize) xxsvideo> protect on 1:0————————-