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:
saveenv
value | effect |
5000 | Load PDA5000 setup |
4300 | Load PDA43XX setup |
7000 | Load PDA7000 setup |
7000B | Load PDA7000B setup |
hdmi | Load HDMI setup (only valid for SAMA5D4 Xplained) |
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:
value | effect |
pda5 | Load PDA5000 setup |
pda4 | Load PDA43XX setup |
pda7 | Load PDA7000 setup |
pda7b | Load PDA7000B setup |
hdmi | Load HDMI setup (only valid for SAMA5D4 Xplained) |
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.