BeagleV Ahead SD Card boot issue

Hello All,

I need help in flashing and booting any image for BeagleV Ahead using a SD Card.

I have created a script to flash the Ubuntu image onto the SD card, but I am facing issues while trying to boot from it. Initially, I followed the official startup guide and successfully flashed the eMMC. However, the board now always boots from the eMMC, and the OS starts from there.

Could you please guide me on how to force or configure the board to boot from the SD card instead?

This is the output i am getting

U-Boot SPL 2020.01-gf55cb6958d (Jul 11 2023 - 17:16:30 +0000)
FM[1] lpddr4x singlerank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header

U-Boot 2020.01-gf55cb6958d (Jul 11 2023 - 17:16:30 +0000)

CPU:   rv64imafdcvsu
Model: T-HEAD c910 light
DRAM:  4 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC:   sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC… OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 16 ms
In:    serial
Out:   serial
Err:   serial
Net:
Warning: ethernet@ffe7070000 (eth0) using random MAC address - 2a:e9:27:1d:13:b8
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000.  Reconnecting to ethernet@ffe7060000

Warning: ethernet@ffe7060000 (eth1) using random MAC address - b6:de:41:81:89:aa
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot:  0
C910 Light# fatload mmc 1:1 ${kernel_addr_r} Image
27543040 bytes read in 319 ms (82.3 MiB/s)
C910 Light# fatload mmc 1:1 ${fdt_addr_r} light-beagle.dtb
170735 bytes read in 4 ms (40.7 MiB/s)
C910 Light# setenv bootargs root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait console=ttyS0,115200
C910 Light# booti ${kernel_addr_r} - ${fdt_addr_r}

Flattened Device Tree blob at 46000000

Booting using the fdt blob at 0x46000000
Using Device Tree in place at 0000000046000000, end 000000004602caee

Starting kernel …

Here it doesn’t proceed after this
Any Idea how to boot through the SD Card?

Officially we only got eMMC boot working on the offical images, while user did get microSD to work, you’ll need to erase eMMC to force microSD boot..

Regards,