new kernel update for odroid xu4. and now wont boot up.

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

Re: new kernel update for odroid xu4. and now wont boot up.

Postby moonman » Mon Aug 22, 2016 7:48 pm

That is not the same issue then. If you did a fresh install then the tarball contains old rootfs and old uboot which you say you had no problems with. So you are doing something wrong.

There is no problems with uboot or the kernel and there is nothing to fix really. It is usually non-standard configurations that people have that make the device unbootable. If you have rootfs on a different drive then edit /boot/boot.txt and change root=PARTUUID= variable to PARTUUID of the rootfs partition and run ./mkscr within /boot

EDIT: Rootfs tarball was updated on Aug 21 after all. I will test install on a different sd card.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3314
Joined: Sat Jan 15, 2011 3:36 am

Re: new kernel update for odroid xu4. and now wont boot up.

Postby gschanuel » Mon Aug 22, 2016 9:35 pm

I just did a "Suy" and i'm having this same issue.
The problem is that i didn't see this error before rebooting
Code: Select all
(16/17) upgrading uboot-odroid-xu3                                                                                                                [##########################################################################################] 100%
 >>> Note: boot.ini is no longer used. Make any customizations within /boot/boot.txt
           and run ./mkscr within /boot to convert it to the boot.scr file.
A new U-Boot version needs to be flashed onto /dev/mmcblk0.
Do you want to do this now? [y|N]
y
/dev/mmcblk0 is an eMMC card, disabling read-only..
BL1 fusing
30+0 records in
30+0 records out
15360 bytes (15 kB, 15 KiB) copied, 1.17501 s, 13.1 kB/s
BL2 fusing
28+1 records in
28+1 records out
14592 bytes (15 kB, 14 KiB) copied, 1.0591 s, 13.8 kB/s
u-boot fusing
error: command terminated by signal 13: Broken pipe


I'm not home right now, but as soon as I get there i'll try to find out if previous uboot have netconsole.
If not, i'll have to find my UART...
Will keep you updated

ps: also, i'm using emmc
gschanuel
 
Posts: 1
Joined: Sat Jul 06, 2013 4:06 am

Re: new kernel update for odroid xu4. and now wont boot up.

Postby moonman » Mon Aug 22, 2016 9:52 pm

Tested several scenarios:
- New installation (Using Aug 21 rootfs tarball)
- Update from old installation with old u-boot
- Update from old installation with rootfs on a USB drive
and everything works as expected if you follow the instructions to the letter.

Common pitfalls:

1. Make sure you have PARTUUID on the rootfs partition If you used some old verion of linux to partition eMMC/SD.
Run "blkid" and make sure PARTUUID is there (do not confuse PARTUUID with UUID)

2. If your rootfs is on a different device from sd/emmc make sure you edit /boot/boot.txt and change root=PARTUUID=${uuid} (replace ${uuid} with an actual PARTUUID of your rootfs partition) and run ./mkscr after that
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3314
Joined: Sat Jan 15, 2011 3:36 am

Re: new kernel update for odroid xu4. and now wont boot up.

Postby moonman » Mon Aug 22, 2016 9:53 pm

gschanuel wrote:...
error: command terminated by signal 13: Broken pipe[/code]
...

Looks like your session got interrupted (connection loss). Just to be safe when you get home, reinstall uboot-odroid-xu3 package.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3314
Joined: Sat Jan 15, 2011 3:36 am

Re: new kernel update for odroid xu4. and now wont boot up.

Postby dox81 » Tue Aug 23, 2016 2:44 pm

@moonman

What is the best way to move the rootfs from sdcard to usb drive? I have the system running for quite some time now and I don't want to start over again. rsync the root sd card partition to usb drive partition is enough?
dox81
 
Posts: 10
Joined: Thu Feb 25, 2016 12:31 pm

Re: new kernel update for odroid xu4. and now wont boot up.

Postby summers » Tue Aug 23, 2016 4:00 pm

How about update the PARTUUID in the uEnv.txt file to point to the root fs on the usb?
summers
 
Posts: 923
Joined: Sat Sep 06, 2014 12:56 pm

Re: new kernel update for odroid xu4. and now wont boot up.

Postby moonman » Tue Aug 23, 2016 6:45 pm

summers wrote:How about update the PARTUUID in the uEnv.txt file to point to the root fs on the usb?


There is no uEnv.txt on xu3/4. There is uboot boot script boot.scr instead
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3314
Joined: Sat Jan 15, 2011 3:36 am

Re: new kernel update for odroid xu4. and now wont boot up.

Postby moonman » Tue Aug 23, 2016 7:06 pm

dox81 wrote:@moonman

What is the best way to move the rootfs from sdcard to usb drive? I have the system running for quite some time now and I don't want to start over again. rsync the root sd card partition to usb drive partition is enough?


rsync works. I use "cp -a" which seems to work nicely too.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3314
Joined: Sat Jan 15, 2011 3:36 am

Re: new kernel update for odroid xu4. and now wont boot up.

Postby dox81 » Tue Aug 23, 2016 7:25 pm

Thanks a lot. I will try.
dox81
 
Posts: 10
Joined: Thu Feb 25, 2016 12:31 pm

Re: new kernel update for odroid xu4. and now wont boot up.

Postby picklegun » Tue Aug 23, 2016 10:47 pm

Has anyone had any problems after running fsck on the sd card? I had to reinstall the bootloader with the /boot/sd_fusing.sh script. Even now, when I run fsck.ext4 -fn (force recheck, don't do anything to the filesystem) on the sd card, I get errors.

Is there some kind of incompatibility between u-boot and the ext4 filesystem?
picklegun
 
Posts: 11
Joined: Sun Aug 21, 2016 3:10 pm

PreviousNext

Return to Samsung

Who is online

Users browsing this forum: No registered users and 2 guests