Changes

Jump to: navigation, search

Building U-Boot (BELK/BXELK)

339 bytes added, 11:51, 28 January 2020
no edit summary
** For '''BELK <= 3.0.2''' and '''BXELK <= 1.0.1''': <pre>make bora_qspi_config &#10;make bora_mmc_config &#10;make bora_noflash_config</pre>
** For '''BELK 4.0.0''' or newer and '''BXELK 2.0.0''' or newer: <pre>make bora_qspi_defconfig &#10;make bora_mmc_defconfig &#10;make bora_noflash_defconfig &#10;make borax_qspi_defconfig &#10;make borax_mmc_defconfig &#10;make borax_noflash_defconfig</pre>
** '''BELK 4.1.1''' or newer adds more targets for BoraLite booting from NAND and for the application note [[BELK-AN-006:_Enabling_dual_Gigabit_Ethernet_support_on_BoraEVB/BoraXEVB|AN006]] <pre>make bora_nand_defconfig &#10;make bora_mmc_an006_defconfig</pre>
:<code>bora_qspi</code> and <code>borax_qspi</code>: U-Boot is built to use NOR flashed based environment. The resulting binary files are used to boot from serial NOR flash.
:<code>bora_mmc</code> and <code>borax_mmc</code>: U-Boot environment is placed in SD/MMC card. The resulting binary files are used to boot from SD/MMC card. However, NOR flash and NAND flash are accessible.
:<code>bora_noflash</code> and <code>borax_noflash</code>: U-Boot environment is placed in SD/MMC card. The resulting binary files are used to boot from SD/MMC card. NOR flash and NAND flash are disabled.
:<code>bora_nand_defconfig</code>: U-Boot environment is placed on NAND flash.
* build U-Boot by issuing <code>make</code> command. This will generate U-Boot binary images.
** file extension <code>.elf</code> must be manually added on <code>u-boot</code> if ELF file is required (for example to build <code>boot.bin</code> for uSD)
In order to download them to the target via TFPT protocol, once the build process is complete the binary images can be copied to the [[BoraX_Embedded_Linux_Kit_(BXELK)#Target_configuration_for_the_development_stage_.28net_nfs.29|tftp root directory]] (e.g. <code>/srvtftpboot/tftp/belkbora/</code>) with the following commands:
* For '''BELK 4.0.0''' or newer and '''BXELK 2.0.0''' or newer:
:<pre>cp spl/boot.bin /srvtftpboot/tftp/belkbora/ &#10;cp u-boot.img /srv/tftptftpboot/belkbora/</pre>
* For '''BELK <= 3.0.2''' and '''BXELK <= 1.0.1''' :
:<pre>cp u-boot.bin /srvtftpboot/tftp/belkbora/</pre>
8,157
edits

Navigation menu