By default an image is built for booting from MMC0 . How can I change boot source to MMC1 (change configuration before compiling for at91bootstrap and u-boot-at91)?
I’ve changed boot source of at91bootstrap in meta-atmel/conf/machine/sama5d27-som1-ek-sd.conf file and it’s ok - device boots from microSD card:
AT91Bootstrap 3.8.13 (Tue 15 Oct 2019 01:58:37 PM UTC)
SDHC: fix in place for SAMA5D2 SoM VDDSDMMC over-consumption errata
SD/MMC: Image: Read file u-boot.bin to 0x23f00000
MMC: ADMA supported
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>
U-Boot 2019.04-linux4sam_6.1 (Sep 24 2019 - 17:09:53 +0000)
CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 128 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from MMC... *** Warning - No block device, using default environment
But u-boot still tries to load the environment from MMC0. If I change u-boot configuration in the sama5d27-som1-ek-sd.conf for loading from MMC1 I get the next error (attached log file).
Did the right way I choose for solving this problem (I want to boot the system from MMC1 micro SD card instead MMC0 by default)?
Could you help me with it?
This is an U-Boot variable and this should automatically be set based on value in MENDER_STORAGE_DEVICE. But I am not familiar in this specific board integration and maybe @jorisoffouga might have some additional insights as he has done the integration and might have a board
Hi guys,
I want to add a new flexcom0 node for UART supporting to the device tree of at91-sama5d27_som1_ek board. I’ve described this node in the arch/arm/boot/dts/at91-sama5d27_som1_ek.dts file, but my changes are not included in the sdimage.
Is there another way how to include new nodes to the device tree? Could you provide some examples for adding nodes with dt-overlay, perhaps it can be an alternative way for device tree editing?