LS1088ARDB/LS1088ARDB-PB - How to update U-Boot binary on SD card

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1088ARDB/LS1088ARDB-PB - How to update U-Boot binary on SD card

LS1088ARDB/LS1088ARDB-PB - How to update U-Boot binary on SD card

This how-to topic is applicable only to LSDK 18.09 and older releases. For LSDK 18.12 and newer releases, refer LS1088ARDB-PB - How to deploy TF-A binaries on SD card.

Follow these steps to update U-Boot binary on the SD card. 

Prerequisites 

  • Ubuntu 18.04 64-bit should be installed on the Linux host machine for building LSDK 18.06 or LSDK 18.09 U-Boot binary.

 

Compiling U-Boot binary

Clone the u-boot repository.

  1. $ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot.git
  2. $ cd u-boot
  3. $ git checkout -b <new branch name> LSDK-<LSDK version>. For example, $ git checkout -b LSDK-18.09 LSDK-18.09 
  4. $ export ARCH=arm64
  5. $ export CROSS_COMPILE=aarch64-linux-gnu-
  6. $ make distclean
  7. Execute appropriate defconfig file:
    • For LS1088ARDB: $ make ls1088ardb_sdcard_qspi_defconfig
    • For LS1088ARDB-PB: $ make ls1088ardb_pb_sdcard_qspi_defconfig
  8. If required, make changes to the U-Boot files.
  9. $ make

If the make command shows the error "*** Your GCC is older than 6.0 and is not supported", ensure that you are using Ubuntu 18.04 64-bit version for building LSDK 18.06 or LSDK 18.09 U-Boot binary. 

The compiled U-Boot image, u-boot-with-spl.bin, is available at u-boot/.

SD card start block number for U-Boot binary

Image SD card start block number
U-Boot binary0x00800 = 2048

Refer the Flash layout for boot flow with PPA – LSDK 18.09 and older releases for a complete listing of the SD card start block numbers for all LSDK firmware images. 

  

Programming U-Boot binary to SD card

  1. Plug the SD card into the Linux host.
  2. Run the following command on the Linux host:
    • $ sudo dd if=u-boot-with-spl.bin of=/dev/sdX bs=512 seek=2048 conv=fsync

      Use the command cat /proc/partitions to see a list of devices and their sizes to

      make sure that the correct device names have been chosen.

      The SDHC storage drive in the Linux PC is detected as /dev/ sdX, where X is a letter such as a, b, c. Make sure to choose the correct device name, because data on this device will be replaced.

      If your Linux host machine supports read/write SDHC card directly without an extra SDHC card reader device, the device name of SDHC card is typically mmcblk0.

        
  3. Remove the SD card from the Linux host machine.
  4. On the LS1088ARDB/LS1088ARDB-PB, ensure that the switches are set to boot the board from SD card. 
    • For booting from SD card, SW1[1:8] + SW2[1] = 0010_0000_0 
  5. Plug the SD card into the board and boot the board to Ubuntu.

If U-Boot does not find LSDK on the SD card, it will boot TinyDistro from lsdk_linux_arm64_ tiny.itb stored on the SD card.

Labels (1)
Comments

Great guide, thank you !

%3CLINGO-SUB%20id%3D%22lingo-sub-1118025%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELS1088ARDB%2FLS1088ARDB-PB%20-%20How%20to%20update%20U-Boot%20binary%20on%20SD%20card%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118025%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CPRE%20__default_attr%3D%22info%22%20__jive_macro_name%3D%22alert%22%20alert%3D%22info%22%20class%3D%22jive_text_macro%20jive_macro_alert%22%20modifiedtitle%3D%22true%22%3E%3CP%3EThis%20how-to%20topic%20is%20applicable%20only%20to%20LSDK%2018.09%20and%20older%20releases.%26nbsp%3BFor%20LSDK%2018.12%20and%20newer%20releases%2C%20refer%26nbsp%3B%3CA%20_jive_internal%3D%22true%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-342624%22%20target%3D%22_blank%22%3ELS1088ARDB-PB%20-%20How%20to%20deploy%20TF-A%20binaries%20on%20SD%20card%3C%2FA%3E.%3C%2FP%3E%20%20%20%20%20%20%20%20%20%20%20%3C%2FPRE%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3EFollow%20these%20steps%20to%20update%26nbsp%3BU-Boot%20binary%20on%20the%20SD%20card.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CH1%20id%3D%22toc-hId-381646891%22%20id%3D%22toc-hId-381646891%22%20id%3D%22toc-hId-1297572271%22%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3EPrerequisites%26nbsp%3B%3C%2FSPAN%3E%3C%2FH1%3E%3CUL%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%20border%3A%200px%3B%20padding%3A%200px%200px%200px%2030px%3B%22%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.2em%200px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3EUbuntu%2018.04%2064-bit%20should%20be%20installed%20on%20the%20Linux%20host%20machine%20for%20building%20LSDK%2018.06%20or%20LSDK%2018.09%20U-Boot%20binary%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%20border%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CH1%20id%3D%22toc-hId--1425807572%22%20id%3D%22toc-hId--1425807572%22%20id%3D%22toc-hId--509882192%22%3ECompiling%26nbsp%3BU-Boot%20binary%3C%2FH1%3E%3CP%20style%3D%22border%3A%200px%3B%22%3EClone%20the%26nbsp%3B%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3Eu-boot%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%26nbsp%3B%3C%2FSPAN%3Erepository.%3C%2FSPAN%3E%3C%2FP%3E%3COL%20style%3D%22border%3A%200px%3B%20padding%3A%200px%200px%200px%2030px%3B%22%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.2em%200px%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%24%E2%80%AF%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Egit%20clone%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%3CA%20data-content-finding%3D%22Community%22%20style%3D%22color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20text-decoration%3A%20inherit%3B%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fqoriq%2Fqoriq-components%2Fu-boot.git%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.2em%200px%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%24%E2%80%AF%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3Ecd%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3Eu-boot%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.2em%200px%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E%24%E2%80%AF%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3Egit%20checkout%E2%80%AF%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E-b%20%3CNEW%20branch%3D%22%22%20name%3D%22%22%3E%26nbsp%3B%3C%2FNEW%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3ELSDK-%3CLSDK%20version%3D%22%22%3E%3C%2FLSDK%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3EFor%20example%2C%3C%2FSPAN%3E%E2%80%AF%24%E2%80%AF%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3Egit%20checkout%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%233d3d3d%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E-b%20LSDK-18.09%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3ELSDK-18.09%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.5ex%200px%3B%22%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%24%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Eexport%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%26nbsp%3BARCH%3Darm64%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.5ex%200px%3B%22%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%24%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Eexport%20CROSS_COMPILE%3D%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3Eaarch64-linux-gnu-%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.5ex%200px%3B%22%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%24%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Emake%26nbsp%3B%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3Edistclean%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.5ex%200px%3B%22%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3EExecute%20appropriate%20defconfig%20file%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CUL%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.5ex%200px%3B%22%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3EFor%20LS1088ARDB%3A%20%24%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Emake%20ls1088ardb_sdcard_qspi_defconfig%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.5ex%200px%3B%22%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3EFor%20LS1088ARDB-PB%3A%20%24%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%20make%20ls1088ardb_pb_sdcard_qspi_defconfig%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%3E%3CSPAN%20lang%3D%22EN-US%22%3E%3CSPAN%20lang%3D%22EN-US%22%3EIf%20required%2C%20make%20changes%20to%20the%26nbsp%3BU-Boot%20files.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20margin%3A%200.5ex%200px%3B%22%3E%3CSPAN%20data-ccp-props%3D%22%7B%22%20134233279%3D%22%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%24%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Emake%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CPRE%20___default_attr%3D%22info%22%20_alert%3D%22info%22%20_modifiedtitle%3D%22true%22%20jivemacro%3D%22alert%22%3E%3CPRE%20__default_attr%3D%22info%22%20__jive_macro_name%3D%22alert%22%20alert%3D%22info%22%20class%3D%22jive_text_macro%20jive_macro_alert%22%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3EIf%20the%26nbsp%3B%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Emake%3C%2FSPAN%3E%26nbsp%3Bcommand%20shows%20the%20error%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%22***%20Your%20GCC%20is%20older%20than%206.0%20and%20is%20not%20supported%22%3C%2FSPAN%3E%2C%20ensure%20that%20you%20are%20using%26nbsp%3BUbuntu%26nbsp%3B18.04%2064-bit%20version%20for%20building%20LSDK%2018.06%20or%20LSDK%2018.09%26nbsp%3BU-Boot%20binary.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%20%20%20%20%20%3C%2FPRE%3E%3C%2FPRE%3E%3CP%20style%3D%22border%3A%200px%3B%22%3EThe%26nbsp%3Bcompiled%20U-Boot%20image%2C%26nbsp%3B%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Eu-boot-with-spl%3C%2FSPAN%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%3CSPAN%20class%3D%22%22%20lang%3D%22EN-US%22%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2011.5pt%3B%22%3E%3CSPAN%20class%3D%22%22%20style%3D%22background-color%3A%20inherit%3B%20border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-size%3A%2015.3333px%3B%22%3E.bin%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%2C%20is%20available%20at%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Eu-boot%3C%2FSPAN%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%20font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%2F%3C%2FSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CH1%20id%3D%22toc-hId-1061705261%22%20id%3D%22toc-hId-1061705261%22%20id%3D%22toc-hId-1977630641%22%3ESD%20card%20start%20block%20number%20for%26nbsp%3BU-Boot%20binary%3C%2FH1%3E%3CP%3E%3C%2FP%3E%3CTABLE%20class%3D%22j-table%20jiveBorder%22%20style%3D%22border%3A%201px%20solid%20%23c6c6c6%3B%22%3E%3CTHEAD%3E%3CTR%20style%3D%22background-color%3A%20%23efefef%3B%22%3E%3CTH%3EImage%26nbsp%3B%3C%2FTH%3E%3CTH%3ESD%20card%20start%20block%20number%3C%2FTH%3E%3C%2FTR%3E%3C%2FTHEAD%3E%3CTBODY%3E%3CTR%3E%3CTD%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3EU-Boot%20binary%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%3E0x00800%20%3D%202048%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CPRE%20__default_attr%3D%22info%22%20__jive_macro_name%3D%22alert%22%20alert%3D%22info%22%20class%3D%22jive_text_macro%20jive_macro_alert%22%20modifiedtitle%3D%22true%22%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3ERefer%20th%3C%2FSPAN%3Ee%20%3CA%20_jive_internal%3D%22true%22%20href%3D%22http%3A%2F%2Fwww.%2Fdocs%2FDOC-342787%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20style%3D%22color%3A%20%232989c5%3B%20text-decoration%3A%20underline%3B%22%20target%3D%22_blank%22%3EFlash%20layout%20for%20boot%20flow%20with%20PPA%20%E2%80%93%20LSDK%2018.09%20and%20older%20releases%3C%2FA%3E%26nbsp%3Bfor%20a%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3E%26nbsp%3Bcomplete%20listing%20of%20the%20SD%20card%20start%20block%20numbers%20for%20all%20LSDK%20firmware%20images.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%20%20%20%20%20%20%20%20%20%20%20%20%26nbsp%3B%26nbsp%3B%20%3C%2FPRE%3E%3CH1%20id%3D%22toc-hId--745749202%22%20id%3D%22toc-hId--745749202%22%20id%3D%22toc-hId-170176178%22%3EProgramming%26nbsp%3BU-Boot%20binary%20to%20SD%20card%3C%2FH1%3E%3COL%3E%3CLI%3EPlug%20the%20SD%20card%20into%20the%20Linux%20host%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E.%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3ERun%20the%20following%20command%20on%20the%20Linux%20host%3A%3CUL%20style%3D%22list-style-type%3A%20circle%3B%22%3E%3CLI%3E%24%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Esudo%20dd%20if%3Du-boot-with-spl.bin%20of%3D%2Fdev%2FsdX%20bs%3D512%20seek%3D2048%20conv%3Dfsync%3C%2FSPAN%3E%3CPRE%20___default_attr%3D%22info%22%20_alert%3D%22info%22%20jivemacro%3D%22alert%22%3E%3CPRE%20__default_attr%3D%22info%22%20__jive_macro_name%3D%22alert%22%20alert%3D%22info%22%20class%3D%22jive_text_macro%20jive_macro_alert%22%3E%3CP%3EUse%20the%20command%20cat%20%2Fproc%2Fpartitions%20to%20see%20a%20list%20of%20devices%20and%20their%20sizes%20to%3C%2FP%3E%3CP%3Emake%20sure%20that%20the%20correct%20device%20names%20have%20been%20chosen.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThe%20SDHC%20storage%20drive%20in%20the%20Linux%20PC%20is%20detected%20as%20%2Fdev%2F%0AsdX%2C%20where%20X%20is%20a%20letter%20such%20as%20a%2C%20b%2C%20c.%20Make%20sure%20to%20choose%20the%20correct%0Adevice%20name%2C%20because%20data%20on%20this%20device%20will%20be%20replaced.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIf%20your%20Linux%20host%20machine%20supports%20read%2Fwrite%20SDHC%20card%20directly%20without%0Aan%20extra%20SDHC%20card%20reader%20device%2C%20the%20device%20name%20of%20SDHC%20card%26nbsp%3Bis%20typically%0Ammcblk0.%3C%2FP%3E%20%20%20%20%20%20%20%20%20%20%20%20%26nbsp%3B%26nbsp%3B%20%3C%2FPRE%3E%3C%2FPRE%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3ERemove%20the%20SD%20card%20from%20the%20Linux%20host%20machine.%3C%2FLI%3E%3CLI%3EOn%20the%20LS1088ARDB%2FLS1088ARDB-PB%2C%20ensure%20that%20the%20switches%20are%20set%20to%20boot%20the%20board%20from%20SD%20card.%26nbsp%3B%3CUL%3E%3CLI%3EFor%20booting%20from%20SD%20card%2C%20%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3ESW1%5B1%3A8%5D%20%2B%20SW2%5B1%5D%20%3D%26nbsp%3B0010_0000_0%3C%2FSPAN%3E%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3EPlug%20the%20SD%20card%20into%20the%20board%26nbsp%3Band%20boot%20the%20board%20to%20Ubuntu.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3EIf%20U-Boot%20does%20not%20find%20LSDK%20on%20the%20SD%20card%2C%20it%20will%20boot%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%20border%3A%200px%3B%22%3E%3CSPAN%20style%3D%22border%3A%200px%3B%20font-weight%3A%20inherit%3B%22%3ETinyDistro%20from%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3Elsdk_linux_arm64_%20tiny.itb%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3Bstored%26nbsp%3Bon%20the%20SD%20card.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1118025%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EQorIQ%20LS1%20Devices%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1118026%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LS1088ARDB%2FLS1088ARDB-PB%20-%20How%20to%20update%20U-Boot%20binary%20on%20SD%20card%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118026%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGreat%20guide%2C%20thank%20you%20!%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎09-10-2020 02:38 AM
Updated by: