SD card not working properly

Hello @aXe_111

Could you please use OOWOW to install the test image to check the sd card again?

Test image: vim4-ubuntu-22.04-server-linux-5.4-fenix-1.0.11-220615-emmc-develop-test.raw.img.xz

Installed it. First observation the image is unstable in terms of ssh connection.

Mount is now successfull with 64G SanDisk Extreme A2

My script is now running aswell:

khadas@Khadas:~/test_sd$ ./format_dev.sh
Device under Test    /dev/mmcblk1
Partition under Test /dev/mmcblk1p1
[sudo] password for khadas:
mkdir: cannot create directory ‘/mnt/sd’: File exists
mke2fs 1.46.5 (30-Dec-2021)
/dev/mmcblk1p1 contains a ext4 file system
        last mounted on Mon Jun 13 23:23:27 2022
Creating filesystem with 15591424 4k blocks and 3899392 inodes
Filesystem UUID: a1fd6cec-372a-4e55-bf7d-83766f7c422c
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424

Allocating group tables: done
Writing inode tables: done
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information: done

Model: SD SN64G (sd/mmc)
Disk /dev/mmcblk1: 63.9GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name     Flags
 1      1049kB  63.9GB  63.9GB  ext4         primary

NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mmcblk0      179:0    0 29.1G  0 disk
mmcblk0boot0 179:32   0    4M  0 disk
mmcblk0boot1 179:64   0    4M  0 disk
mmcblk1      179:96   0 59.5G  0 disk
└─mmcblk1p1  179:97   0 59.5G  0 part /mnt/sd
zram0        253:0    0    0B  0 disk
zram1        253:1    0  256M  0 disk [SWAP]
zram2        253:2    0  256M  0 disk [SWAP]
zram3        253:3    0  256M  0 disk [SWAP]
zram4        253:4    0  256M  0 disk [SWAP]
zram5        253:5    0    0B  0 disk
F3 write 8.0
Copyright (C) 2010 Digirati Internet LTDA.
This is free software; see the source for copying conditions.

Free space: 58.24 GB
Creating file 1.h2w ... OK!
Free space: 57.24 GB
Average writing speed: 29.89 MB/s
F3 read 8.0
Copyright (C) 2010 Digirati Internet LTDA.
This is free software; see the source for copying conditions.

                  SECTORS      ok/corrupted/changed/overwritten
Validating file 1.h2w ... 2097152/        0/      0/      0

  Data OK: 1.00 GB (2097152 sectors)
Data LOST: 0.00 Byte (0 sectors)
               Corrupted: 0.00 Byte (0 sectors)
        Slightly changed: 0.00 Byte (0 sectors)
             Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 63.29 MB/s

However dmesg is still full of errors when mounting:

[  124.121375] r: b_s = 6, b_sz = 3a, f: b_s = 0, b_sz = 1b
[  124.121383] the final result: sel = 1, rx = 23
[  124.121391] mmc1: new ultra high speed SDR104 SDXC card at address aaaa
[  124.121394] mmc1: clock 199999997, 4-bit-bus-width

[  124.121896] mmcblk1: mmc1:aaaa SN64G 59.5 GiB
[  124.126415]  mmcblk1: p1
[  124.126781] Enter aml_emmc_partition_ops
[  142.124992] meson-gx-mmc fe08a000.sd: 25 [0x76f4fe8], CRC[0x0100]
[  142.134934] meson-gx-mmc fe08a000.sd: 25 [0x0], CRC[0x0100]
[  142.193719]  mmcblk1:
[  142.228430] meson-gx-mmc fe08a000.sd: 25 [0x76f4fd8], CRC[0x0100]
[  142.231472] meson-gx-mmc fe08a000.sd: 25 [0x76f4fd8], CRC[0x0100]
[  142.233147] meson-gx-mmc fe08a000.sd: 25 [0x76f4fd8], CRC[0x0100]
[  142.366476]  mmcblk1: p1
[  142.433932] meson-gx-mmc fe08a000.sd: 25 [0x76f4780], CRC[0x0100]
[  142.434162] meson-gx-mmc fe08a000.sd: 25 [0x76f4780], CRC[0x0100]
[  142.435180] meson-gx-mmc fe08a000.sd: 25 [0x76f4780], CRC[0x0100]
[  142.465210] meson-gx-mmc fe08a000.sd: 25 [0x3840b00], CRC[0x0100]
[  142.465405] meson-gx-mmc fe08a000.sd: 25 [0x3840c00], CRC[0x0100]
trunctuated
[  148.480200] meson-gx-mmc fe08a000.sd: 25 [0x3880800], CRC[0x0100]
[  148.975467] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  148.975474] the final result: sel = 1, rx = 23
[  148.977643] meson-gx-mmc fe08a000.sd: 25 [0x3880b00], CRC[0x0100]
[  148.981219] meson-gx-mmc fe08a000.sd: 25 [0x3880e00], CRC[0x0100]
[  148.981698] meson-gx-mmc fe08a000.sd: 25 [0x3881500], CRC[0x0100]
[  148.982429] meson-gx-mmc fe08a000.sd: 25 [0x3881e00], CRC[0x0100]
[  148.984075] meson-gx-mmc fe08a000.sd: 25 [0x3881f00], CRC[0x0100]
[  148.991271] meson-gx-mmc fe08a000.sd: 25 [0x3882c00], CRC[0x0100]
[  149.480552] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  149.480558] the final result: sel = 1, rx = 23
[  149.484204] meson-gx-mmc fe08a000.sd: 25 [0x3882f00], CRC[0x0100]
[  149.486802] meson-gx-mmc fe08a000.sd: 25 [0x3883700], CRC[0x0100]
[  149.487518] meson-gx-mmc fe08a000.sd: 25 [0x3883b00], CRC[0x0100]
[  149.488639] meson-gx-mmc fe08a000.sd: 25 [0x3884300], CRC[0x0100]
[  149.489062] meson-gx-mmc fe08a000.sd: 25 [0x3884400], CRC[0x0100]
[  149.490701] meson-gx-mmc fe08a000.sd: 25 [0x3884700], CRC[0x0100]
[  149.494688] meson-gx-mmc fe08a000.sd: 25 [0x3884f00], CRC[0x0100]
[  149.960929] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  149.960937] the final result: sel = 1, rx = 23
[  149.969990] meson-gx-mmc fe08a000.sd: 25 [0x3885c00], CRC[0x0100]
[  150.440234] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  150.440240] the final result: sel = 1, rx = 23
[  150.446664] meson-gx-mmc fe08a000.sd: 25 [0x3885f00], CRC[0x0100]
[  150.918036] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  150.918043] the final result: sel = 1, rx = 23
[  150.928459] meson-gx-mmc fe08a000.sd: 25 [0x3886900], CRC[0x0100]
[  151.395908] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  151.395915] the final result: sel = 1, rx = 23
[  151.395978] meson-gx-mmc fe08a000.sd: 25 [0x3886c00], CRC[0x0100]
[  151.407724] meson-gx-mmc fe08a000.sd: 25 [0x3888000], CRC[0x0100]
[  151.879586] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  151.879593] the final result: sel = 1, rx = 23
[  151.903169] meson-gx-mmc fe08a000.sd: 25 [0x1248], CRC[0x0100]
[  152.397284] r: b_s = 7, b_sz = 39, f: b_s = 0, b_sz = 1b
[  152.397292] the final result: sel = 1, rx = 23
[  152.399664] meson-gx-mmc fe08a000.sd: 25 [0x1348], CRC[0x0100]
trunctuated 
[  155.756187] meson-gx-mmc fe08a000.sd: 25 [0x38ba300], CRC[0x0100]
[  156.054649] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[  168.208992] meson-gx-mmc fe08a000.sd: 25 [0xfae00], CRC[0x0100]

Other card (Hama 16GB SDHC Class 10 from Picture above) can not be formatted or mounted in the slot

[  661.644810] meson-gx-mmc fe08a000.sd: 25 [0xc5ff18], CRC[0x0100]
[  661.656167] meson-gx-mmc fe08a000.sd: 25 [0xc60018], CRC[0x0100]
[  661.660296] meson-gx-mmc fe08a000.sd: 25 [0xc5f718], CRC[0x0100]
[  661.670555] print_req_error: 110 callbacks suppressed
[  661.670561] blk_update_request: I/O error, dev mmcblk1, sector 12973848 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  661.671303] buffer_io_error: 3830 callbacks suppressed
[  661.671306] Buffer I/O error on dev mmcblk1p1, logical block 1621475, lost async page write
[  661.671667] meson-gx-mmc fe08a000.sd: 25 [0xc5f818], CRC[0x0100]
[  661.672394] Buffer I/O error on dev mmcblk1p1, logical block 1621476, lost async page write
[  661.674234] Buffer I/O error on dev mmcblk1p1, logical block 1621477, lost async page write
[  661.675301] Buffer I/O error on dev mmcblk1p1, logical block 1621478, lost async page write
[  661.676372] Buffer I/O error on dev mmcblk1p1, logical block 1621479, lost async page write
[  661.677454] Buffer I/O error on dev mmcblk1p1, logical block 1621480, lost async page write
[  661.678518] Buffer I/O error on dev mmcblk1p1, logical block 1621481, lost async page write
[  661.679589] Buffer I/O error on dev mmcblk1p1, logical block 1621482, lost async page write
[  661.680662] Buffer I/O error on dev mmcblk1p1, logical block 1621483, lost async page write
[  661.681744] Buffer I/O error on dev mmcblk1p1, logical block 1621484, lost async page write
[  661.684517] blk_update_request: I/O error, dev mmcblk1, sector 12974104 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  661.686745] meson-gx-mmc fe08a000.sd: 25 [0xc5f918], CRC[0x0100]
[  661.696924] blk_update_request: I/O error, dev mmcblk1, sector 12974360 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  661.698039] meson-gx-mmc fe08a000.sd: 25 [0xc5fa18], CRC[0x0100]
[  661.700099] blk_update_request: I/O error, dev mmcblk1, sector 12974616 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  661.702333] meson-gx-mmc fe08a000.sd: 25 [0xc5fb18], CRC[0x0100]
[  661.712566] blk_update_request: I/O error, dev mmcblk1, sector 12974872 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  661.713682] meson-gx-mmc fe08a000.sd: 25 [0xc5fc18], CRC[0x0100]
[  661.715747] blk_update_request: I/O error, dev mmcblk1, sector 12975128 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  661.717985] meson-gx-mmc fe08a000.sd: 25 [0xc5fd18], CRC[0x0100]
[  661.728238] blk_update_request: I/O error, dev mmcblk1, sector 12975384 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  661.729358] meson-gx-mmc fe08a000.sd: 25 [0xc5fe18], CRC[0x0100]
[  661.731554] blk_update_request: I/O error, dev mmcblk1, sector 12975640 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
....
[  662.121159] blk_update_request: I/O error, dev mmcblk1, sector 12975896 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
[  662.122257] meson-gx-mmc fe08a000.sd: 25 [0xc60018], CRC[0x0100]
[  662.124345] blk_update_request: I/O error, dev mmcblk1, sector 12976152 op 0x1:(WRITE) flags 0x4800 phys_seg 32 prio class 0
.....
[  663.168752] meson-gx-mmc fe08a000.sd: 25 [0xc62118], CRC[0x0100]
[  663.180041] meson-gx-mmc fe08a000.sd: 25 [0xc62218], CRC[0x0100]
[  663.183990] meson-gx-mmc fe08a000.sd: 25 [0xc62318], CRC[0x0100]
[  663.195354] meson-gx-mmc fe08a000.sd: 25 [0xc62418], CRC[0x0100]
[  663.199317] meson-gx-mmc fe08a000.sd: 25 [0xc62518], CRC[0x0100]
[  663.210681] meson-gx-mmc fe08a000.sd: 25 [0xc62618], CRC[0x0100]
[  663.214812] meson-gx-mmc fe08a000.sd: 25 [0xc62718], CRC[0x0100]
[  663.225118] meson-gx-mmc fe08a000.sd: 25 [0x1000800], CRC[0x0100]
[  663.235383] meson-gx-mmc fe08a000.sd: 25 [0x1400800], CRC[0x0100]
[  663.245932] meson-gx-mmc fe08a000.sd: 25 [0x1440800], CRC[0x0100]
[  663.256297] meson-gx-mmc fe08a000.sd: 25 [0x1800800], CRC[0x0100]
[  663.266592] meson-gx-mmc fe08a000.sd: 25 [0x1c00800], CRC[0x0100]
[  663.277619] meson-gx-mmc fe08a000.sd: 25 [0x1c00820], CRC[0x0100]
[  663.361866]  mmcblk1: p1
[  663.457216] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[  663.457225] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 1th superblock
[  663.461526] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x80000)
[  663.461530] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 2th superblock
[  663.463506] exFAT-fs (mmcblk1p1): invalid boot record signature
[  663.463587] exFAT-fs (mmcblk1p1): failed to read boot sector
[  663.464323] exFAT-fs (mmcblk1p1): failed to recognize exfat type

Other 64GB A2 Card:

[ 8716.588700] ------------[ cut here ]------------
[ 8716.588716] WARNING: CPU: 3 PID: 3718 at fs/proc/generic.c:374 proc_register+0x138/0x188
[ 8716.588719] proc_dir_entry 'jbd2/mmcblk1p1-8' already registered
[ 8716.588722] Modules linked in: nft_compat nft_counter nft_chain_nat nf_tables overlay optee_armtz optee adc_keypad dolby_fw exfat gpio_keypad leds_state meson_clk_debug meson_cpufreq meson_gxl meson_ir reg_access audio_data audiodsp snd_soc_dummy_codec snd_soc_aml_t9015 snd_soc_aml_codec_tl1_acodec snd_usb_audio snd_hwdep snd_usbmidi_lib amvenc_multi jpegenc media_sync amvdec_av1_v4l amvdec_av1 amvdec_mavs amvdec_avs2 amvdec_vp9_v4l amvdec_vp9 amvdec_vc1 amvdec_mmpeg4_v4l amvdec_mmpeg4 amvdec_mmpeg12_v4l amvdec_mmpeg12 amvdec_mmjpeg_v4l amvdec_mmjpeg amvdec_h265_v4l amvdec_h265 amvdec_h264mvc amvdec_mh264_v4l amvdec_mh264 amvdec_ports stream_input decoder_common aml_drm video_framerate_adapter snd_soc firmware media_clock aml_media meson_gxbb_wdt aml_crypto_dma aml_spicc snd_soc_notify hifidsp meson_clk_measure mali_kbase aml_dvb_extern aml_gki_tool meson_saradc aml_rng aml_mailbox reboot zram dhd btrfs xor xor_neon raid6_pq
[ 8716.588779] CPU: 3 PID: 3718 Comm: mount Tainted: G        W         5.4.125 #1.0.11
[ 8716.588781] Hardware name: Khadas VIM4 (DT)
[ 8716.588784] Call trace:
[ 8716.588790] [ffffffc02022b8d0+  96][<ffffffd110095978>] dump_backtrace+0x0/0x128
[ 8716.588794] [ffffffc02022b930+  32][<ffffffd110095ac4>] show_stack+0x24/0x30
[ 8716.588799] [ffffffc02022b950+  64][<ffffffd110e4701c>] dump_stack+0xc0/0xe8
[ 8716.588804] [ffffffc02022b990+ 112][<ffffffd1100c02bc>] __warn+0x11c/0x120
[ 8716.588809] [ffffffc02022ba00+ 144][<ffffffd110e321c8>] warn_slowpath_fmt+0x8c/0xa0
[ 8716.588812] [ffffffc02022ba90+  80][<ffffffd11037d5e0>] proc_register+0x138/0x188
[ 8716.588815] [ffffffc02022bae0+  64][<ffffffd11037d748>] _proc_mkdir+0x78/0xa0
[ 8716.588818] [ffffffc02022bb20+  32][<ffffffd11037d844>] proc_mkdir+0x34/0x40
[ 8716.588823] [ffffffc02022bb40+  32][<ffffffd110405468>] jbd2_stats_proc_init+0x28/0x60
[ 8716.588826] [ffffffc02022bb60+  48][<ffffffd110406084>] jbd2_journal_init_inode+0x9c/0xd0
[ 8716.588831] [ffffffc02022bb90+ 288][<ffffffd1103f3320>] ext4_fill_super+0x2820/0x34f8
[ 8716.588835] [ffffffc02022bcb0+  80][<ffffffd1102d3118>] mount_bdev+0x1c8/0x1f8
[ 8716.588840] [ffffffc02022bd00+  48][<ffffffd1103e1ba4>] ext4_mount+0x44/0x58
[ 8716.588844] [ffffffc02022bd30+  32][<ffffffd11031a4a8>] legacy_get_tree+0x30/0x60
[ 8716.588847] [ffffffc02022bd50+  48][<ffffffd1102d15c8>] vfs_get_tree+0x30/0x110
[ 8716.588852] [ffffffc02022bd80+ 128][<ffffffd110300588>] do_mount+0x550/0x9a0
[ 8716.588855] [ffffffc02022be00+  64][<ffffffd110300e44>] ksys_mount+0x94/0xf0
[ 8716.588859] [ffffffc02022be40+  32][<ffffffd110300ec8>] __arm64_sys_mount+0x28/0x38
[ 8716.588863] [ffffffc02022be60+  64][<ffffffd11009ebec>] el0_svc_common.constprop.0+0x8c/0x198
[ 8716.588867] [ffffffc02022bea0+ 336][<ffffffd11009ed2c>] el0_svc_handler+0x34/0xa0
[ 8716.588870] [ffffffc02022bff0+   0][<ffffffd110084788>] el0_svc+0x8/0x80
[ 8716.588873] ---[ end trace 4b748b4398bea2ef ]---
[ 8716.591861] sysfs: cannot create duplicate filename '/fs/ext4/mmcblk1p1'
[ 8716.591877] CPU: 4 PID: 3718 Comm: mount Tainted: G        W         5.4.125 #1.0.11
[ 8716.591880] Hardware name: Khadas VIM4 (DT)
[ 8716.591884] Call trace:
[ 8716.591897] [ffffffc02022b920+  96][<ffffffd110095978>] dump_backtrace+0x0/0x128
[ 8716.591902] [ffffffc02022b980+  32][<ffffffd110095ac4>] show_stack+0x24/0x30
[ 8716.591910] [ffffffc02022b9a0+  64][<ffffffd110e4701c>] dump_stack+0xc0/0xe8
[ 8716.591917] [ffffffc02022b9e0+  48][<ffffffd11038dd88>] sysfs_warn_dup+0x68/0x80
[ 8716.591923] [ffffffc02022ba10+  64][<ffffffd11038def8>] sysfs_create_dir_ns+0xd8/0xe8
[ 8716.591929] [ffffffc02022ba50+  64][<ffffffd110e1fad4>] kobject_add_internal+0xbc/0x300
[ 8716.591934] [ffffffc02022ba90+ 176][<ffffffd110e20050>] kobject_init_and_add+0x90/0xb8
[ 8716.591941] [ffffffc02022bb40+  80][<ffffffd1103f4868>] ext4_register_sysfs+0x78/0x150
[ 8716.591947] [ffffffc02022bb90+ 288][<ffffffd1103f2b70>] ext4_fill_super+0x2070/0x34f8
[ 8716.591953] [ffffffc02022bcb0+  80][<ffffffd1102d3118>] mount_bdev+0x1c8/0x1f8
[ 8716.591960] [ffffffc02022bd00+  48][<ffffffd1103e1ba4>] ext4_mount+0x44/0x58
[ 8716.591967] [ffffffc02022bd30+  32][<ffffffd11031a4a8>] legacy_get_tree+0x30/0x60
[ 8716.591971] [ffffffc02022bd50+  48][<ffffffd1102d15c8>] vfs_get_tree+0x30/0x110
[ 8716.591978] [ffffffc02022bd80+ 128][<ffffffd110300588>] do_mount+0x550/0x9a0
[ 8716.591984] [ffffffc02022be00+  64][<ffffffd110300e44>] ksys_mount+0x94/0xf0
[ 8716.591989] [ffffffc02022be40+  32][<ffffffd110300ec8>] __arm64_sys_mount+0x28/0x38
[ 8716.591996] [ffffffc02022be60+  64][<ffffffd11009ebec>] el0_svc_common.constprop.0+0x8c/0x198
[ 8716.592002] [ffffffc02022bea0+ 336][<ffffffd11009ed2c>] el0_svc_handler+0x34/0xa0
[ 8716.592008] [ffffffc02022bff0+   0][<ffffffd110084788>] el0_svc+0x8/0x80
[ 8716.592013] kobject_add_internal failed for mmcblk1p1 with -EEXIST, don't try to register things with the same name in the same directory.
[ 8716.593116] EXT4-fs (mmcblk1p1): mount failed
[ 8716.626909] EXT4-fs warning (device mmcblk1p1): htree_dirblock_to_tree:1014: inode #2: lblock 0: comm f3write: error -5 reading directory block
[ 8716.626994] EXT4-fs error (device mmcblk1p1): __ext4_find_entry:1605: inode #2: comm f3write: reading directory lblock 0
[ 8716.629207] EXT4-fs warning (device mmcblk1p1): htree_dirblock_to_tree:1014: inode #2: lblock 0: comm f3read: error -5 reading directory block

Hello @aXe_111

Please provide the full kernel log.

@numbqq uploaded here

The only cards really running the test are the SanDisk cards. Especially the SDHC (16GB) Cards don’t work in the VIM4

OK, our sales will contact you later.

Exact same thing just happened to me on my VIM1S.

I bought it on Amazon and requested a replacement.

I use KIOXIA EXCERIA G2, SanDisk Ultla A1, SanDisk SanDisk Extreme A2.
KIOXA is not recognzed, and SanDisk Ultra cannot boot it.
I can boot Ubuntu with SanDisk Extreme A2, but the filesystem become read-only soon.
dmesg show same error in this topic.

So I do not believe that it is possible to boot from an SD card other than the SanDisk Extreme PRO A2 that has been confirmed to work.

In addition, I checked two VIM4 with SanDisk Extreme A2.
Serial: 25A00009B5, 25A00009BA
I got same error. So this is not initial error.

Therefore I think that there are some conditions for SD cards used in VIM4.

Could you tell me which image you used ?

Thank you for the reply.
I use generic/vim4-ubuntu-22.04-gnome-linux-5.4-fenix-1.4-221229.img.xz.

The steps I have taken are as follows:

  1. Erace eMMC
    Normaly SD card is primaly boot device, so it maybe unnecessary.

  2. Write Image to SD card with Etcher refer to VIM4 Install OS into External Storage [Khadas Docs]

  3. Connect SD card

  4. Connect HDMI carble for display.

  5. Connect USB-C carble to power.

I bought the SanDisk Extreme PRO A2, so I try to boot VIM4 tonight.

I can boot VIM4 with the SanDisk Extreme PRO A2, but filesystem become read-only soon.

Helllo @hijimasa

I have some improvments to the SD cards. I checked SanDisk Extreme PRO A2 and SanDisk Ultra A1 on my side, both work well.

Could you also check this test image ? https://dl.khadas.com/.test/vim4-ubuntu-22.04-gnome-linux-5.4-fenix-1.4.2-230307-develop.img.xz

@numbqq
Thank you for reply.
OK. I try with the test image tonight.

@numbqq
I can boot with the test image.
I use the SanDisk Extreme PRO A2.
VIM4 is fine.
What kind of magic did you use?

Okay, this fix will be in next release.

Hello @numbqq,

I have a new Khadas VIM4 (just got it) and try to use it with SanDisk Extreme Pro A2 128GB sd card. I downloaded the test image you linked, but the VIM4 seems to be stuck in boot loop (white light comes up, fan spins up, both stops, repeat).

Thanks for your help.

Make sure your USB cable is actually rated for 5 amps and you must have that board on a stiff supply. It is best to use their official power supply or one that is same or better specs.

I replaced my power supply (HP docking station) even though it was rated for 19.5V - 6A with a normal USB-C power supply and it seems to be working fine. Thanks!

1 Like