forked from brandonhamilton/rhino
-
Notifications
You must be signed in to change notification settings - Fork 0
Software Setup
brandonhamilton edited this page Mar 18, 2011
·
14 revisions
- Connect a usb cable between the USB port on the Rhino board and your computer. Download the FTDI Driver if necessary.
- Run a terminal program (e.g. minicom), set to 115200 8N1 with no flow control. Connect to the third serial device (/dev/ttyUSB2) that was created by the FTDI driver.
Download the X-Loader and U-boot binary files.
- Format an SD/MMC card to allow for OMAP3 booting as described here: http://processors.wiki.ti.com/index.php/SD/MMC_format_for_OMAP3_boot
- Copy the X-Loader and U-boot binary files to the SD/MMC card from any computer, and then insert into the MMC slot on the Rhino
- Make sure the BOOT ORDER board jumpers are set to boot from MMC (SW1 = OFF, SW2 = ON). Turn on the power.
Once booted into u-boot from the MMC card, the bootloader can be written to the onboard NAND flash. Place the binary files on a TFTP server accessible by the Rhino board over the network.
Writing X-Loader to NAND flash
- Erase all data in RAM
mw.b 0x82000000 0xff 0x2000000 - Erase NAND area for X-Loader
nand erase 0 80000 - Copy X-Loader binary into memory over tftp
tftpboot 0x82000000 MLO - Write X-Loader into NAND flash
nandecc hw; nand write.i 0x82000000 0 80000
Setting environment variables
- Set the appropriate environment variables (change according to your own network setup)
setenv ipaddr 192.168.0.1 setenv netmask 255.255.255.0 setenv serverip 192.168.0.254 - Save the environment variables
saveenv
Writing U-boot to NAND flash
- Erase all data in RAM
mw.b 0x82000000 0xff 0x2000000 - Erase NAND area for U-boot nand erase 80000 1e0000
- Copy U-boot binary into memory over tftp
tftpboot 0x82000000 u-boot.bin - Write U-boot into NAND flash
nandecc sw; nand write.i 0x82000000 80000 1e0000