Getting RCW image:
Getting UEFI image:
Getting PPA image:
Getting Linux kernel and DTB, and Root FS images:
- Download Image , fsl-ls1043a-uefi-rdb.dtb and fsl-image-core-ls1043ardb.ext2.gz .
- Copy Image and fsl-image-core-ls1043ardb.ext2.gz to the TFTP server directory.
Getting GRUB2 image for AARCH64 and sample GRUB configuration:
- Download grub image from this location.
- Download sample grub configuration from here .
Placing GRUB image on FAT formatted SD card:
Install FAT32 file system on SD card
- Use the DISKPART utililty on windows command prompt to format a SD card with FAT32 file system. Use the following snapshot for reference
- Copy grubaa64.efi and ls1043a-grub.cfg to the SD card.
Booting to UEFI prompt on LS1043a RDB Board:
Setup serial port connection on host machine, to capture logs from the target LS1043a RDB board..
Reset the board to boot u-boot on bank 0, assuming that there is a valid u-boot image flashed on the primary bank 0.
sete uefi 'tftp 80000000 LS1043ARDB_EFI.fd; erase 0x64400000 0x644FFFFF ; cp.b 80000000 0x64400000 $filesize'
sete rcw 'tftp 80000000 rcw_uefi_1500.bin; erase 0x64000000 0x640FFFFF ; cp.b 80000000 0x64000000 $filesize'
sete ppa 'tftp 80000000 ppa.itb; erase 0x64500000 0x645FFFFF ; cp.b 80000000 0x64500000 $filesize'
sete dtb 'tftp 80000000 fsl-ls1043a-uefi-rdb.dtb; erase 0x65B00000 0x65BFFFFF; cp.b 80000000 65B00000 $filesize'
run uefi
run ppa
run rcw
run dtb
Note: The host machine is assumed to be having tftp server running, with the relevant files in place. The rcw, uefi, dtb and ppa images can also be found at compass link shared above.
Note: Make sure SD card is inserted into the SD card slot on the board.
=> cpld reset altbank
Shell> FS0:
Shell> ls
Booting Linux via PXE on LS1043a RDB:
Note: atftpd or tftpd-hpa, is required as tftp server for PXE boot to work. tftpd is not supported.
Shell> grubaa64.efi
grub> set net_default_server=<server_ip>
grub> net_add_addr eno0 efinet0 <client_ip>
grub> configfile (hd3,msdos1)/ls1043a-grub.cfg