Milk v duo S not booting

I downloaded the duo S image, used Ether to burn the image, image looks Ok, with 2 partitions, inserted the SD card and waited. The blue light keeps blue and doesnt blink. In the UART console i have this error message after 3 seconds:
Any help: ??

[ 1.657100] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.667629] Bluetooth: HIDP socket layer initialized
[ 1.677347] Loading compiled-in X.509 certificates
[ 1.720971] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc
[ 1.733373] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card
[ 1.756134] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac
[ 1.766674] random: fast init done
[ 1.791630] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.820458] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 1.828038] cfg80211: failed to load regulatory.db
[ 1.835431] ALSA device list:
[ 1.845117] dw-apb-uart 4140000.serial: forbid DMA for kernel console
[ 1.856433] Waiting for root device /dev/mmcblk0p2…
[ 2.144325] mmc0: new ultra high speed DDR50 SDHC card at address 0001
[ 2.151856] mmcblk0: mmc0:0001 00000 29.3 GiB
[ 2.158931] mmcblk0: p1 p2
[ 2.547232] random: crng init done
[ 4.050341] blk_update_request: I/O error, dev mmcblk0, sector 262147 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 4.061613] Buffer I/O error on dev mmcblk0p2, logical block 1, lost sync page write
[ 4.069675] EXT4-fs (mmcblk0p2): I/O error while writing superblock
[ 4.076227] EXT4-fs (mmcblk0p2): mount failed
[ 4.081121] VFS: Cannot open root device “mmcblk0p2” or unknown-block(179,2): error -5
[ 4.089385] Please append a correct “root=” boot option; here are the available partitions:
[ 4.098085] b300 30703616 mmcblk0
[ 4.098093] driver: mmcblk
[ 4.105271] b301 131072 mmcblk0p1 96519668-01
[ 4.105278]
[ 4.112376] b302 786432 mmcblk0p2 96519668-02
[ 4.112382]
[ 4.119478] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 4.128200] —[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]—

I’d use the sd format tool: SD Memory Card Formatter for Windows/Mac | SD Association (sdcard.org) and make sure your card is completely formatted, here is the image I tested with https://github.com/milkv-duo/duo-buildroot-sdk/releases/download/Duo-V1.1.0/milkv-duos-sd-v1.1.0-2024-0410.img.zip. Keep in mind it will only give you 768MB of usable space. If you want to make it bigger you have to follow the build instructions.

1 Like

No luck yet. I will try to write on a different SD card. I have tried a few different images, but get the same error. I suspect the uboot part gives the error, Can i use another uboot, is my SD card corrupt or is my Duo S somehow corrupt?

1 Like

[ 4.050341] blk_update_request: I/O error, dev mmcblk0, sector 262147 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0

That error is from the Linux kernel when attempting to mount the root filesystem. Is it always the same block, 262147?

1 Like

I’m on visit, so I cannot test it now, but I think I get always the same error, yes

1 Like

Certainly sounds like a bad block on that SD card.

1 Like

Ok thanks. I will run a bad block check or try another…

1 Like

Solved. Indeed bad block. Used another sd card and no problems bóoting. Blue light is blinking as expected. Thnx for the advise

1 Like