[Solved][Cubox-i] Not Booting after uboot-cubox-i update

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[Solved][Cubox-i] Not Booting after uboot-cubox-i update

Postby slycat » Sat Jul 18, 2015 9:35 pm

Ran pacman -Syu, included a uboot-cubox-i update, allowed the flash to happen to /dev/mmcblk0
Cannot reboot system after this

Broken or did something wrong happen during the flash?
Last edited by slycat on Wed Jul 22, 2015 2:39 am, edited 1 time in total.
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: [Cubox-i] Not Booting after uboot-cubox-i update

Postby moonman » Mon Jul 20, 2015 4:19 am

Any boot log? The nice thing about cubox is that uart converter is built in, jist need a micro usb cable.
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: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [Cubox-i] Not Booting after uboot-cubox-i update

Postby slycat » Tue Jul 21, 2015 3:32 am

Flashed a backup i made before the last update, no dice

I do not have a microUSB on me, but I did see errors along the lines of
$this->bbcode_second_pass_code('', 'File /boot.scr not found
File /zImage not found
File /uEnv.txt')
It seems like the boot folder is not being seen during the boot up

Tried duping the boot folder from a fresh install tarball and flashed the SPL & u-boot.img, and no luck

Any idea? or should I hunt down a friend with a microUSB cable?
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: [Cubox-i] Not Booting after uboot-cubox-i update

Postby moonman » Tue Jul 21, 2015 3:44 am

Uboot is not the problem then. If you are seeing these messages then SPL and uboot have been loaded successfully. Check your uEnv and make sure it passes the right partition to the kernel, especially if your rootfs is on a different storage device or partition. For reference this is what I have in my uEnv:
$this->bbcode_second_pass_code('', 'mmcargs=setenv bootargs root=PARTUUID="77d79668-01" rootwait rw elevator=bfq console=tty1 console=ttymxc0,115200 consoleblank=0 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=16 dmfc=3 ahci_imx.hotplug=1 pci=nomsi loop.max_part=15')

fsck your drive also.

If nothing above helps then yeah, you will need that cable to see what's going on.
(BTW, the messages you are seeing are expected as uboot tries to load those files from different locations)
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: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [Cubox-i] Not Booting after uboot-cubox-i update

Postby slycat » Tue Jul 21, 2015 12:46 pm

Copy, I can confirm that a number of items for the startup are also being initiated (brcmf, ata connection, mounting fstab entries) but ends at the "Enter root password to enter Maintenance Mode" break.

I can't look at my backup img until later today but I know for a fact I do not have the "root=PARTUUID=" flag nor the loop.max_part (unsure what this is though) in my backup uEnv.txt. The box ran fine and would reboot without issue before.

Also I tried using the uEnv.txt from a fresh install tarball into my backup img; fresh install works but this method of duping the boot dir does not, even on older backup imgs.
Besides the /boot dir what could cause a boot failure: missing files in /bin, /proc, /sys?

will fsck the microSD after I check the uEnv.txt, and thanks for pointing out the usual boot messages
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: [Cubox-i] Not Booting after uboot-cubox-i update

Postby moonman » Tue Jul 21, 2015 9:26 pm

$this->bbcode_second_pass_quote('slycat', 'C')opy, I can confirm that a number of items for the startup are also being initiated (brcmf, ata connection, mounting fstab entries) but ends at the "Enter root password to enter Maintenance Mode" break.

This is usually because it could not mount a drive that you have an entry for in fstab.
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: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [Cubox-i] Not Booting after uboot-cubox-i update

Postby slycat » Wed Jul 22, 2015 2:39 am

Played with fstab and commented out all entries: nothing
Checked uEnv.txt and saw for some reason it was pointing mmcroot to mmcblk0p2 (use to point to p1); changed back: nothing

Decided to use just the uEnv.txt from a fresh install onto my backup image mixed with the fstab edit and all is running. Seems like my old system had boot stored on a separate partition and was still trying to find it.

Solved. Thanks moonman
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: [Solved][Cubox-i] Not Booting after uboot-cubox-i update

Postby moonman » Thu Jul 23, 2015 3:27 am

Glad you solved it :)
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: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 11 guests