setenv display 5000We can save this variable in the environment so we do not need to repeat this process on every boot by running the following command:
saveenvTips: If we have a display that U-boot will autodetect, the display variable will be replaced by the proper one of the detected display. The table below summarizes the possible values of the display variable:
|
|||||||||||||
bootcmd_boot=ext4load mmc 0 0x24000000 boot/sama5d2_xplained.itb; bootm 0x24000000#kernel_dtb${at91_overlays_config}Will change to:
bootcmd_boot=ext4load mmc 0 0x24000000 boot/sama5d2_xplained.itb; bootm 0x24000000#kernel_dtb#pda5This will ensure that U-boot will always load pda5 setup regardless of the PDA detected. The table below summarizes the possible overlays that can be added to the boot command line in U-boot:
|
|||||||||||||
setenv bootcmd_boot 'ext4load mmc 0 0x24000000 boot/sama5d2_xplained.itb; bootm 0x24000000#kernel_dtb#pda4' saveenvOr for SD Card boot case on SAMA5D27 SOM1 EK board:
setenv bootcmd 'fatload mmc 0:1 0x24000000 sama5d27_som1_ek.itb; bootm 0x24000000#kernel_dtb#pda4' saveenv
WebFaqBaseForm | |
---|---|
Boards | Sam9x60EK, Sama5d27WLSom1EK, Sama5d27Som1EK, Sama5d2PtcEK, Sama5d2Xplained, Sama5d4Xplained, Sama5d3Xplained, AT91sam9x5-ek |
Components | U-Boot, Kernel |
Summary | How to manually select PDA in U-boot |
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.