khadas / fenix

One-stop script set to build Ubuntu/Debian images
GNU General Public License v2.0
211 stars 135 forks source link

Debian 12 on VIM3L don't work #312

Closed Eznopot closed 1 month ago

Eznopot commented 1 month ago

Hi, I'm trying to make an image for a khakis VIM3L with Debian:

***********************PARAMETERS************************
Fenix Version:         1.6.9.1
Khadas Board:          VIM3L
Uboot Version:         mainline
Uboot Configuration:   khadas-vim3l_defconfig
Uboot Branch:          master
Linux Version:         mainline
Linux Configuration:   kvims_defconfig
Linux DTB:             /home/ubuntu/vim3l_salem/fenix/build/linux/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dtb
Linux Branch:          khadas-linux-6.9.y
Distribution:          Debian
Distribution Release:  bookworm
Distribution Type:     server
Distribution Arch:     arm64
Install Type:          SD-USB
Final Image:           vim3l-debian-12-server-linux-6.9-fenix-1.6.9.1-240726-develop.img
Compressed Image:      vim3l-debian-12-server-linux-6.9-fenix-1.6.9.1-240726-develop.img.xz
*********************************************************

When the image is compile, I flash it on my SD card. When I try to boot on the vim3L with the SD card I'm on initramfs. Here is the error I have when I boot:

Starting kernel ...

uboot time: 9981145 us
[    0.370430] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    0.373281] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    0.390281] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    0.393130] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    0.406471] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    0.409325] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    0.422817] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    0.425633] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    0.672707] meson-drm ff900000.vpu: DSI transceiver device is disabled
[    0.885058] dw-pcie fc000000.pcie: error -ENXIO: IRQ index 1 not found
[    0.930786] meson-pcie fc000000.pcie: error: wait linkup timeout
[    0.973739] meson-pcie fc000000.pcie: error: wait linkup timeout
[    1.118561] meson-pcie fc000000.pcie: error: wait linkup timeout
[    1.264866] meson-pcie fc000000.pcie: error: wait linkup timeout
[    1.405673] meson-pcie fc000000.pcie: error: wait linkup timeout
[    1.549074] meson-pcie fc000000.pcie: error: wait linkup timeout
[    1.692454] meson-pcie fc000000.pcie: error: wait linkup timeout
[    1.835748] meson-pcie fc000000.pcie: error: wait linkup timeout
[    1.979055] meson-pcie fc000000.pcie: error: wait linkup timeout
[    2.122457] meson-pcie fc000000.pcie: error: wait linkup timeout
[    2.265884] meson-pcie fc000000.pcie: error: wait linkup timeout
[    2.413306] meson-pcie fc000000.pcie: error: wait linkup timeout
[    2.922058] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[    2.932546] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    2.935357] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    3.935473] usb usb1-port1: connect-debounce failed
[   18.492849] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   18.502239] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   18.505053] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   18.671097] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   18.680919] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   18.683731] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   18.813067] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   18.822472] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   18.825288] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   19.960221] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   19.970994] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   19.973802] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   20.103698] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   20.113691] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   20.116508] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   21.261982] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   21.392406] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   22.564694] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   22.699418] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   23.834414] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   23.843777] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   23.846584] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   23.972233] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   23.981588] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   23.984406] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   25.144930] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   25.154329] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   25.157153] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   25.284611] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   25.294013] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   25.296828] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   25.430735] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   25.440617] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   25.443430] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[   25.580115] Buffer I/O error on dev mmcblk0, logical block 0, async page read

I have tried to create an image on ubuntu and it works, but I really need a Debian image. Can you help me to fix this ? Thanks in advance !

numbqq commented 1 month ago

[ 0.370430] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 0.373281] Buffer I/O error on dev mmcblk0, logical block 0, async page read [ 0.390281] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 0.393130] Buffer I/O error on dev mmcblk0, logical block 0, async page read [ 0.406471] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 0.409325] Buffer I/O error on dev mmcblk0, logical block 0, async page read [ 0.422817] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 0.425633] Buffer I/O error on dev mmcblk0, logical block 0, async page read [ 0.672707] meson-drm ff900000.vpu: DSI transceiver device is disabled [ 0.885058] dw-pcie fc000000.pcie: error -ENXIO: IRQ index 1 not found

Here are somes errors of the SD card, could you try other cards?

Eznopot commented 1 month ago

Hello, it was indeed an SD card problem. What misled me was that I tried a second one which was also broken. I'm closing the issue. Have a nice day !