Page History
...
...
...
Boot Method Precedence
The order of precedence for searching for boot components is as follows
- extlinux.conf file (located in /extlinux/ or /boot/extlinux/)
- boot.scr file + image.ub file
- boot.scr file + individual files (Image, system.dtb, etc.)
Using the boot.src method
...
...
...
...
dd if=boot.scr of=boot.script bs=72 skip=1
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
And remember that the boot.script file needs to be converted back into the boot.scr file after the edits are complete
Code Block | ||||
---|---|---|---|---|
| ||||
mkimage -c none -A arm -T script -d boot.script boot.scr
|
Tested Boot combinations with example boot script file for TE0715
Set Boot Mode is SD-Boot:
...
BOOT.bin^1
image.ub
boot.scr
...
BOOT.bin^1
image.ub
...
BOOT.bin^1
boot.scr
...
BOOT.bin^1
image.ub
...
Set Boot Mode is QSPI-Boot:
...
'--
...
BOOT.bin^2
zynq_fsbl_flash
...
image.ub
boot.scr
...
BOOT.bin^1
zynq_fsbl_flash
...
BOOT.bin^1 (for SD Card or qspi flash):
- fsbl.elf
- test_board.bit
- u-boot.elf
BOOT.bin^2 (for qspi flash):
...
BOOT.bin^3 (for qspi flash):
...
...
- fsbl.elf
- test_board.bit
- u-boot.elf
- boot.scr
Booting from QSPI
...
...
...
- Connect JTAG and power on carrier with module (boot mode set to SD boot and no SD card is inserted)
- Open Vivado Project with "vivado_open_existing_project_guimode.cmd" or if not created, create with "vivado_create_project_guimode.cmd"
- Type on Vivado TCL Console: TE::pr_program_flash -swapp u-boot
Note: To program with SDK/Vivado GUI, use special FSBL (zynq_fsbl_flash) on setup
optional "TE::pr_program_flash -swapp hello_te0715" possible - Copy boot.scr and image.ub on SD-Card
- use files from (<project folder>/_binaries_<Article Name>)/boot_linux from generated binary folder,see: Get prebuilt boot binaries
- or use prebuilt file location, see <design_name>/prebuilt/readme_file_location.txt
- Set boot mode to QSPI-Boot mode and insert SD card.
- Depends on Carrier, see carrier TRM.
Option 2 (Boot.bin with image.ub and boot.scr on QSPI Flash):
- Connect JTAG and power on carrier with module (boot mode set to SD boot and no SD card is inserted)
- Open Vivado Project with "vivado_open_existing_project_guimode.cmd" or if not created, create with "vivado_create_project_guimode.cmd"
- Type on Vivado TCL Console: TE::pr_program_flash -swapp u-boot
Note: To program with SDK/Vivado GUI, use special FSBL (zynq_fsbl_flash) on setup
optional "TE::pr_program_flash -swapp hello_te0715" possible - Set boot mode to QSPI-Boot mode and start the board.
- Depends on Carrier, see carrier TRM.
...
...
0x10000000
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
scriptaddr=0x3000000
script_offset_f=fc0000
script_size_f=0x40000
bootcmd_qspi=sf probe 0 0 0 && sf read ${scriptaddr} ${script_offset_f} ${script_size_f} && echo QSPI: Trying to boot script at ${scriptaddr} && source ${scriptaddr}; echo QSPI: SCRIPT FAILED: continuing...;
|
Booting from SD
- Copy image.ub, boot.scr and Boot.bin on SD-Card.
- use files from (<project folder>/_binaries_<Article Name>)/boot_linux from generated binary folder,see: Get prebuilt boot binaries
- or use prebuilt file location, see <design_name>/prebuilt/readme_file_location.txt
- Set Boot Mode to SD-Boot.
- Depends on Carrier, see carrier TRM.
- Insert SD-Card in SD-Slot.
...
0x10000000
...
language | bash |
---|---|
theme | Midnight |
title | example: u-boot printenv for TE0715 |
...
...
...
Overview
Content Tools