Jump to content

Tinkerboard not booting after updates


Recommended Posts

3 minutes ago, Ikesankom said:

Is a Tinkerboard "regular" (doesn't have eMMC). The system is installed in a microSD and the rootfs is /dev/mmcblk2p1.

Ok then I would first try with a pristine image on a different sdcard if possible, just to understand if the problem is the sdcard itself or something messed up in the kernel

Link to comment
Share on other sites

The upgrade bricked my Tinkerboard S eMMC a few weeks ago.

Due to time constraints, I reloaded the OS on an SD card.

I did an update / upgrade today and I believe my SD card was trashed again. I haven't tried rebooting yet but this is what happened the last time and again this time:

image.thumb.png.5ae01ba2260526197c30ce502efa374e.png

Link to comment
Share on other sites

@Ikesankom hello, no I didn't test it yet. Actually, I have been busy with other issues and totally forgot to test for the upgrade path.

If you have a bit of patience I may give it a shot in the next few days, probably tomorrow.

Link to comment
Share on other sites

@Ikesankom I did a quick test jiggling with bootloader to try and test multiple cases with both sdcard and emmc.

I found a little "bug": there is no "alias" for the mmc devices in the device tree, so sometimes at boot the emmc is mmcblk0 and sdcard il mmcblk2, sometimes they get swapped.

 

Anyway, despite this bug, the installer never broke the existing bootloader, at most it could miss the right device (I should check the logic behind, as it is not so easy guess what is the booting device) if you have both emmc and sdcard plugged. It's not a big deal though: the bootloader has got no real updates in a while since it works fine and the important thing is that the script does not destroy anymore the existing bootloader 😁

 

Anyway, if the board is remotely installed and controls something important, and you want extra-safety, you can do apt-mark hold linux-u-boot-tinkerboard-current and prevent bootloader upgrades
 

Link to comment
Share on other sites

Hello @jock. I did some last tests and nothing, still the same. I tried deleting the disk entry in /etc/fstab (even physically too) and same error.
I also tried the command you told me about before doing the upgrade.
I can only wait to see if the next stable version comes out and pray that it works.
Or try to do an installation from scratch, although with so many modified system files, which would hurt me a lot to lose.

 

Edited by Ikesankom
Link to comment
Share on other sites

@Ikesankom sorry, I misunderstood your issue, which is not related to the rest of the thread.

It looks like the kernel does not enumerate the partitions of the USB drive, I just tested the bootloader which is not related at all with your issue.

 

It is weird though, because I have an rk3288 tvbox which boots from an external hard drive with ext4 partitions without issues.

Could you please post the results of the suggested commands cat /proc/modules and ls /dev/sd* ?

Link to comment
Share on other sites

Well, sorry, if necessary I will open a new thread.

I send the results of the commands

 

 cat /proc/modules

overlay 110592 3 - Live 0x00000000
tls 69632 0 - Live 0x00000000
snd_seq_dummy 16384 0 - Live 0x00000000
snd_hrtimer 16384 2 - Live 0x00000000
l2tp_ppp 24576 0 - Live 0x00000000
l2tp_netlink 24576 1 l2tp_ppp, Live 0x00000000
l2tp_core 36864 2 l2tp_ppp,l2tp_netlink, Live 0x00000000
pppox 16384 1 l2tp_ppp, Live 0x00000000
xfrm_user 40960 2 - Live 0x00000000
ppp_generic 36864 2 l2tp_ppp,pppox, Live 0x00000000
xfrm_algo 16384 1 xfrm_user, Live 0x00000000
slhc 16384 1 ppp_generic, Live 0x00000000
algif_hash 16384 1 - Live 0x00000000
aes_arm_bs 24576 2 - Live 0x00000000
crypto_simd 16384 1 aes_arm_bs, Live 0x00000000
cryptd 20480 2 crypto_simd, Live 0x00000000
algif_skcipher 16384 1 - Live 0x00000000
af_alg 24576 6 algif_hash,algif_skcipher, Live 0x00000000
lz4hc 16384 0 - Live 0x00000000
lz4 16384 0 - Live 0x00000000
zram 32768 3 - Live 0x00000000
binfmt_misc 20480 1 - Live 0x00000000
snd_usb_audio 225280 2 - Live 0x00000000
snd_soc_rockchip_i2s 24576 2 - Live 0x00000000
snd_hwdep 16384 1 snd_usb_audio, Live 0x00000000
snd_usbmidi_lib 28672 1 snd_usb_audio, Live 0x00000000
snd_soc_simple_card 20480 2 - Live 0x00000000
snd_seq_midi 16384 0 - Live 0x00000000
snd_seq_midi_event 16384 1 snd_seq_midi, Live 0x00000000
snd_soc_hdmi_codec 20480 1 - Live 0x00000000
snd_soc_simple_card_utils 20480 1 snd_soc_simple_card, Live 0x00000000
snd_rawmidi 28672 2 snd_usbmidi_lib,snd_seq_midi, Live 0x00000000
snd_soc_core 172032 4 snd_soc_rockchip_i2s,snd_soc_simple_card,snd_soc_hdmi_codec,snd_soc_simple_card_utils, Live 0x00000000
snd_seq 57344 15 snd_seq_dummy,snd_seq_midi,snd_seq_midi_event, Live 0x00000000
snd_pcm_dmaengine 16384 1 snd_soc_core, Live 0x00000000
hantro_vpu 122880 0 - Live 0x00000000
rockchip_vdec 69632 0 - Live 0x00000000 (C)
snd_seq_device 16384 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x00000000
snd_pcm 94208 5 snd_usb_audio,snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_core,snd_pcm_dmaengine, Live 0x00000000
v4l2_vp9 24576 2 hantro_vpu,rockchip_vdec, Live 0x00000000
rockchip_rga 24576 0 - Live 0x00000000
rockchip_iep 20480 0 - Live 0x00000000
rk_crypto 24576 1 - Live 0x00000000
v4l2_h264 16384 2 hantro_vpu,rockchip_vdec, Live 0x00000000
videobuf2_dma_sg 20480 1 rockchip_rga, Live 0x00000000
syscon_reboot_mode 16384 0 - Live 0x00000000
videobuf2_dma_contig 20480 3 hantro_vpu,rockchip_vdec,rockchip_iep, Live 0x00000000
v4l2_mem2mem 24576 4 hantro_vpu,rockchip_vdec,rockchip_rga,rockchip_iep, Live 0x00000000
snd_timer 28672 3 snd_hrtimer,snd_seq,snd_pcm, Live 0x00000000
videobuf2_memops 16384 2 videobuf2_dma_sg,videobuf2_dma_contig, Live 0x00000000
videobuf2_v4l2 24576 5 hantro_vpu,rockchip_vdec,rockchip_rga,rockchip_iep,v4l2_mem2mem, Live 0x00000000
snd 57344 22 snd_usb_audio,snd_hwdep,snd_usbmidi_lib,snd_soc_hdmi_codec,snd_rawmidi,snd_soc_core,snd_seq,snd_seq_device,snd_pcm,snd_timer, Live 0x00000000
videobuf2_common 45056 9 hantro_vpu,rockchip_vdec,rockchip_rga,rockchip_iep,videobuf2_dma_sg,videobuf2_dma_contig,v4l2_mem2mem,videobuf2_memops,videobuf2_v4l2, Live 0x00000000
rk3288_gpiomem 16384 0 - Live 0x00000000
dw_wdt 16384 0 - Live 0x00000000
crypto_engine 16384 1 rk_crypto, Live 0x00000000
reboot_mode 16384 1 syscon_reboot_mode, Live 0x00000000
hci_uart 40960 0 - Live 0x00000000
soundcore 16384 1 snd, Live 0x00000000
r8723bs 417792 0 - Live 0x00000000 (C)
rockchip_thermal 24576 0 - Live 0x00000000
cpufreq_dt 16384 0 - Live 0x00000000
squashfs 45056 24 - Live 0x00000000
fuse 110592 1 - Live 0x00000000
ip_tables 24576 0 - Live 0x00000000
realtek 24576 1 - Live 0x00000000
gpio_rockchip 20480 12 - Live 0x00000000
gpio_keys 20480 0 - Live 0x00000000
panfrost 57344 2 - Live 0x00000000
gpu_sched 28672 1 panfrost, Live 0x00000000
dw_hdmi_cec 16384 0 - Live 0x00000000
dw_hdmi_i2s_audio 16384 0 - Live 0x00000000
uas 24576 0 - Live 0x00000000

ls /dev/sd*

/dev/sda  /dev/sda1

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines