Cubietruck SSD linux-armv7 updates causes boot fail

This forum is for supported devices using an ARMv7 Allwinner SoC.

Cubietruck SSD linux-armv7 updates causes boot fail

Postby nobodySpecial » Fri Jul 13, 2018 7:46 pm

Hello community,

I got my Cubietruck on ssd working. Everything seems fine till I updated the system.
The linux-armv7 causes the boot problem, since it will not update the boot img on the SD-Card :roll: .
I solved it by updating the sd-card system manuel.

I thought about a way to do this automatically, but I not sure if this will work.
Could i mount the boot directory from sd-card on the ssd boot directory?
So it will update the necessary boot files.


Cheers
nobody
nobodySpecial
 
Posts: 8
Joined: Tue Jun 12, 2018 8:15 pm

Re: Cubietruck SSD linux-armv7 updates causes boot fail

Postby sehraf » Sun Jul 15, 2018 2:16 pm

Hi

yes just mount your sd to /boot

in my case:
$this->bbcode_second_pass_code('', 'mount | grep boot
/dev/mmcblk0p1 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)')
sehraf
 
Posts: 69
Joined: Mon Feb 03, 2014 10:06 pm

Re: Cubietruck SSD linux-armv7 updates causes boot fail

Postby nobodySpecial » Wed Jul 18, 2018 5:24 pm

But the sd-card contains also the rootfs.
Does it detect the boot-dir from the sd-card rootfs automatically, when i mount it to the ssd boot-dir?
I tried to set symlinks of the mounted boot-dir from sd-card to the boot-dir from ssd rootfs.
I did an update again and the pacman logs said that it modified the boot-image from the mounted boot dir on sd-card.
So everything saw fine to me and i rebooted it, but i couldn't connect anymore via ssh. :(
Put the ping works, so network from truck is up, i guess.
nobodySpecial
 
Posts: 8
Joined: Tue Jun 12, 2018 8:15 pm

Re: Cubietruck SSD linux-armv7 updates causes boot fail

Postby sehraf » Wed Jul 25, 2018 5:23 pm

so you have sdcard/boot/ and ssd/boot/ directories?
In my example the sd card was only containing the content of /boot and no rootfs. (loading kernel and co from / instead of /boot/ since there is no /boot/ directory on the sd card)

Is your ssd mounted to / ?
I would have assume that symlinking sdard/boot/ to /boot/ should work :?:
sehraf
 
Posts: 69
Joined: Mon Feb 03, 2014 10:06 pm


Return to Allwinner

Who is online

Users browsing this forum: No registered users and 5 guests