Difference between revisions of "Hawkboard"
Viralsachde (talk | contribs) m (→Procedure to flash u-boot on NAND) |
|||
Line 93: | Line 93: | ||
After booting the u-boot over UART as mentioned above, | After booting the u-boot over UART as mentioned above, | ||
* On the u-boot prompt in the terminal window | * On the u-boot prompt in the terminal window | ||
− | * Configure the Ethernet server and Client IP addresses | + | * Configure the Ethernet server and Client IP addresses, For e.g. |
hawkboard.org > setenv serverip 172.24.156.199 | hawkboard.org > setenv serverip 172.24.156.199 | ||
− | hawkboard.org > setenv ipaddr 172.24.190.58 | + | hawkboard.org > setenv ipaddr 172.24.190.58 |
* Download the u-boot generated for NAND | * Download the u-boot generated for NAND | ||
hawkboard.org > tftpboot 0xc0700000 u-boot_nand_ais.bin | hawkboard.org > tftpboot 0xc0700000 u-boot_nand_ais.bin |
Revision as of 12:36, 6 December 2009
NEWS: Early Adopter Contest Win FREE HawkBoard Submit your proposal by 30th Nov 2009
Contents
Hardware Details
Software Details
Tools
- ARM Cross Compiler
- DSP Cross Compiler c674x via option -mv6740
- AIS Generator / UART Host Tool
Sources
- Linux Kernel
- u-boot
Building verification images from source
Compiling u-boot (bootloader)
- Issue compile commands with make:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omapl_hawkboard_config make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Signing u-boot for UART boot
Signing u-boot for NAND boot
- Copy u-boot (elf) file to the host machine where AIS Generator is installed. Follow the below steps
- Configure PLL0, PLL1, DDR tabs as shown above. The File name to generate remains as in the step above.
Compiling Linux Kernel
- Issue compile commands with make:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omapl138_hawkboard_defconfig make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
Booting
Booting u-boot over UART
- Power OFF the board
- Close any previously running terminal programs
- Connect the UART cable to the Host machine.
- Configure the Boot Switches as 1-OFF 2-ON 3-OFF 4-ON
- Start the UART Host Utility, should have been installed with AIS Generator / UART Host Tool
- Select the AIS FILE Generated for UART
- Click on the Start button
- Power UP the Device
- If you see errors click on stop and press start again and give a board reset.
- Wait till you all the below messages and COM is closed:
(File IO): Read 414964 bytes from file D:\hawk_release\u-boot_uart_ais.bin. (Serial Port): Opening COM1 at 115200 baud... (AIS Parse): Read magic word 0x41504954. (AIS Parse): Waiting for BOOTME... (AIS Parse): Performing Start-Word Sync... (AIS Parse): Performing Ping Opcode Sync... (AIS Parse): Processing command 0: 0x5853590D. (AIS Parse): Performing Opcode Sync... (AIS Parse): Executing function... (AIS Parse): Processing command 1: 0x5853590D. (AIS Parse): Loaded 1512-byte section to address 0xC10E4BEC. ... ... ... (AIS Parse): Processing command 15: 0x58535906. (AIS Parse): Performing Opcode Sync... (AIS Parse): Performing jump and close... (AIS Parse): AIS complete. Jump to address 0xC1080000. (AIS Parse): Waiting for DONE... (AIS Parse): Boot completed successfully. (Serial Port): Closing COM1.
- Now Start any standard UART Terminal and hit enter key, should see the u-boot prompt
Procedure to flash u-boot on NAND
After booting the u-boot over UART as mentioned above,
- On the u-boot prompt in the terminal window
- Configure the Ethernet server and Client IP addresses, For e.g.
hawkboard.org > setenv serverip 172.24.156.199 hawkboard.org > setenv ipaddr 172.24.190.58
- Download the u-boot generated for NAND
hawkboard.org > tftpboot 0xc0700000 u-boot_nand_ais.bin TFTP from server 172.24.156.199; our IP address is 172.24.190.58 Filename 'u-boot_nand_ais.bin'. Load address: 0xc0700000 Loading: ################################################################# ################# done Bytes transferred = 414988 (6550c hex)
- Erase NAND Flash
hawkboard.org > nand erase NAND erase: device 0 whole chip OK
- Flash the NAND with u-boot
hawkboard.org > nand write.e 0xc0700000 0x20000 0x70000
NAND write: device 0 offset 0x20000, size 0x70000 458752 bytes written: OK hawkboard.org >
- Switch off the board
- Change the DIP Switches for NAND boot 1-ON 2-OFF 3-OFF 4-OFF
Booting u-boot over NAND
Flash u-boot into NAND as mentioned above
- Switch off the board
- Change the DIP Switches for NAND boot 1-ON 2-OFF 3-OFF 4-OFF
- Switch on the board
Booting Linux Kernel and Mounting RAMDISK
Booting Linux Kernel and Mounting NFS (Network File System)
Live Links
- Blog : http://hawkboard.wordpress.com/
- Portal : http://hawkboard.org
- Join us : hawkboard on google groups
- IRC : “#hawkboard” on Freenode
- IRC logs : http://ibot.rikers.org/%23hawkboard/
- Twitter : hawkboard
- Mails : hawkboard@googlegroups.com
- Software : code.google.com/p/hawkboard
- OMAP L 138 : http://focus.ti.com/docs/prod/folders/print/omap-l138.html
- Applications : http://wiki.davincidsp.com/index.php/C674x/OMAPL1x_Introductory_Information
- More Details : http://wiki.davincidsp.com/index.php/Category:OMAPL1