Andes Workshop https://forum.andestech.com/ |
|
Burn Linux Kernel image into flash in Andes EVB board https://forum.andestech.com/viewtopic.php?f=10&t=864 |
Page 1 of 1 |
Author: | ianfeng [ Wed Jul 02, 2014 3:09 pm ] |
Post subject: | Burn Linux Kernel image into flash in Andes EVB board |
Using boot bode to burn Linux Kernel image into flash: 1. Insert FAT32 format SD card with Linux Kernel image file(bpi321). 2. Boot up EVB board. 3. Press 'SW4' GPIO button to get in "Setup & Diagnosis" command menu. 4. Key in "55" in terminal to get in CLI (Command List Interface). 5. Load kernel image from SD card into memory: Code: CLI> sdload bpi321 0x02000000 6. Burn kernel data to flash:Code: CLI> burn 0x02000000 0x80800000 0xa00000 Code: Note: If you meet "Flash_ChipErase - Erase suspend." condition, please unlock the flash by using: a. AndeSight "Flash Burner" tool. b. Add "--unlock" option in "IntelJ3" tool. Attachment: Boot Linux Kernel in flash: 1. Boot up EVB board. 2. Press 'SW4' GPIO button to get in "Setup & Diagnosis" command menu. 3. Key in "55" in terminal to get in CLI (Command List Interface). 4. Go to address "0x80800000" and run Linux Kernel in flash. Code: CLI> go 0x80800000 Attachment: bootmenu.jpg [ 85.48 KiB | Viewed 9946 times ] Auto boot into Linux when boot up EVB board: Boot code of EVB board can check if there is "sdbatch.txt" file in SD card. If it exists, boot code will automatically execute the commands in the file. 1. Create a file named "sdbatch.txt" in SD card with following lines. Code: go 0x80800000 2. Insert the SD card, and boot up EVB board.end It will automatically boot into Linux with the kernel image in flash. Attachment: bootauto.jpg [ 74.36 KiB | Viewed 9946 times ] ================================================================================= Using AndeSight + AICE to burn Linux Kernel image into flash: NOTE: The burnning speed is MUCH slower than using boot code. Attachment: burnAS.jpg [ 82.77 KiB | Viewed 9911 times ] In AndeSight "Flash programming Wizard", the "Programming Start Address:" should be 0x00800000. Address 0x00800000 is mapped to 0x80800000 in boot code "CLI>" environment. |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |