Jump to content

Recommended Posts

Posted

I run my ODROID C2 from eMMC, and after upgrading u-boot default to 5.38 booting no longer works. It looks like it cannot read the root partition and then reboots (and it will just keep rebooting). If I downgrade to u-boot 5.35 the system starts normally.  

 

This is the boot log from serial (first boot to start of the second):

https://hastebin.com/raw/qajacahipe

Posted

http://ix.io/F4j

Mine (8G eMMC) works fine after upgrade from 5.37 (also with the mainline kernel) but I can revert this u-boot back to 5.35 ...

  Reveal hidden contents


We use more or less unchanged u-boot. Please report this incident to Hardkernel as well.

 

Posted

Thank you for your response. Since you confirmed that there shouldn't be anything wrong with the u-boot package I did some testing and came to the conclusion that something must have gone wrong with my installation.

  1. Backed up all the files on the partition with rsync
  2. Flashed a fresh image of armbian and started it so it would resize
  3. Shut down and deleted all the files on the partition of the fresh install
  4. Copied the old files back on the new partition with rsync (and replaced the UUID in fstab)

After this I the boot was normal, and I even tried to reinstall the u-boot package just to make sure and it still works.

Log: https://hastebin.com/raw/risagucasu

Posted

Hello igor
Sorry for hijacking this thread but i think i have the same problem. 
I recently purchased an Odroid c2 and i'm new to linux. I've been using the c2 with OMV for weeks now but when i update ( attached a screenshot below ) u-boot odroidc2 from the update manager of the webgui the device never boots doesn't show on the network. I have opened an issue on the OMV forums https://forum.openmediavault.org/index.php/Thread/21632-Odroid-C2-After-update-i-loss-the-device-from-the-network-can-t-get-it-to-work-p/?postID=166970#post167045 since i thought it was an OMV problem but it's not. Please take a look and help me. Thank you in advance

 

8414-omv-3-issue-jpg

 

 

Posted

Hi,

I have an odroid-c2 with a fresh installation of armbian jessie server on a sd hc card. The version of linux-u-boot-odroidc2-default is 5.35 and when restarting, it works perfectly. When I update the system (apt- update && apt upgrade), with linux-u-boot-odroidc2-default = 5.38, it turns out that armbian no longer restarts. If after the update, I reinstall the version 5.35 (downgrade), followed by a restart, armbian launches correctly.

In the same way, after a migration to stretch and a regression to linux-u-boot-odroidc2-default v5.35, the system restarts correctly.

 

Should we report this problem as a bug?

Posted

How can I tell if there is a problem with the network since nothing is displayed on the screen ? Moreover it is impossible to connect by ssh. On the other hand effectively, the ethernet led and the leds of the keyboard are operational. The red and blue leds of the card are lit and fixed. 

On the previous system, with stretch, I used sytemd-networkd and systemd-resolved and renamed /etc/network/interfaces.back and after upgrade u-boot, there was too this boot problem.
 

Posted (edited)

I also experienced this problem yesterday. Update&upgrade -> reboot -> no HDMI output, red and blue LED solid on. The network interface LED starts flickering like an HDD LED, but after a couple of seconds it is being turned on and off with maybe 1.5s delay and nothing more happens.

Since I'm not the "deep into Linux" guy, I googled my ass off for a couple of hours, tried fixing things, upgraded my device to the dev kernels and uboots and I have no idea what else I tried (it was 4am in the end ;-) ). I did all that chroot'ing into the USB mounted SD HC of my original system after I set up a different SD HC with a fresh armbian installation and probably fucked up the whole original installation, but I learned a lot. :-)

 

Could someone please explain in a short version how I can downgrade the system to 5.35 to check if I completely messed up or if it at least boots? Upgrading wasn't a problem, since I could just use the kernel packages provided by the Armbian page, but I'm to dumb to find the ones to downgrade.

 

 

Btw: Here's the update history from yesterday before everything went wrong (maybe it helps):

Upgrade: libgcj16:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), libgcc-5-dev:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), gcj-5-jre-headless:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), linux-image-odroidc2:arm64 (5.35, 5.38), cpp-5:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), libitm1:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), libvdpau1:arm64 (1.1.1-10~armbian5.35+1, 1.1.1-10~armbian5.38+1), libasan2:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), gcc-5-base:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), gcc-5-base:armhf (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), gcj-5-jre-lib:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), armbian-firmware:arm64 (5.35, 5.38), libstdc++-5-dev:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), libubsan0:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), g++-5:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), sunxi-tools:arm64 (1.4.2-1~armbian5.35+1, 1.4.2-2~armbian5.38+1), gcc-5:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), linux-u-boot-odroidc2-default:arm64 (5.35, 5.38), armbian-config:arm64 (5.36, 5.38), libgomp1:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), hostapd:arm64 (2:2.6-4~armbian5.35+1, 2:2.6-4~armbian5.38+1), linux-dtb-odroidc2:arm64 (5.35, 5.38), libatomic1:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), libcc1-0:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), libstdc++6:arm64 (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), libstdc++6:armhf (5.4.0-6ubuntu1~16.04.5, 5.4.0-6ubuntu1~16.04.6), linux-xenial-root-odroidc2:arm64 (5.37, 5.38)

Edited by torbenb
Posted

I just created an account to say I have the same problem running ubuntu desktop from emmc. Upgraded from 5.36 to 5.38 with no hdmi output, no ssh, solid led lights & no network light. I had a disk image for 5.36 so downgrading wasn't an issue.  I haven't had time to mess around any further.

Posted

I think I am having the same problem with OpenMediaVault 3 after apt-get updates over the weekend.

 

I can't boot at all, nothing via HDMI. I tried a new install on another card and that's fine, so the Odroid C2 itselt is OK.

 

How can I revert this change? I can edit the SD card in another system.

Posted

Fixed upstream so now it's safe to update. Those who ended up on a dead board, this is the way to recover:

 

1. Get some older image and boot your C2

2. Download this file 

3. Attach SD with card reader and make sure your SD is /dev/sda1 (disconnect other devices or check with dmesg too see where it was assigned to and adjust commands appropriately)

P1020464.JPG

4. Write u-boot with command: DEVICE=/dev/sda dpkg -i linux-u-boot-odroidc2_5.40_arm64.deb

5. Boot with a previously dead SD card

Posted

Didn't work for me, but that's probably because I destroyed the kernel with trying to fix stuff I have no clue of. :rolleyes:

At least the display recognized that a device is attached to it, which wasn't the case before. So I hope it's fixed for the other guys that reported and waited (I think I'll do it that way the next time).

 

Anyway, thank you very much for looking into it and of course providing these nice Armbian images to us! :)

Posted

Armbian_5.40.180207_Odroidc2_Debian_stretch_next_4.14.17 doesn't boot for me. There was no resizing of the partition, controlled with gparted.

Armbian_5.40_Odroidc2_Debian_jessie_default_3.14.79 works very well.

Posted

OMG! It happened that it was recompiled without eMMC corruption fix patch :( And since my eMMC works in any case, I could not notice anything was wrong ... recompiling.

Edit: recompiled, images changed.


Actually, it was O.K. - can you describe more of your setup and provide logs. I made another test and everything looks fine. Resizing as well.

Posted
  On 2/5/2018 at 11:42 AM, Igor said:

Fixed upstream so now it's safe to update. Those who ended up on a dead board, this is the way to recover:

 

1. Get some older image and boot your C2

2. Download this file 

3. Attach SD with card reader and make sure your SD is /dev/sda1 (disconnect other devices or check with dmesg too see where it was assigned to and adjust commands appropriately)

P1020464.JPG

4. Write u-boot with command: DEVICE=/dev/sda dpkg -i linux-u-boot-odroidc2_5.40_arm64.deb

5. Boot with a previously dead SD card

Expand  

Great! Found my SD card reader and worked a treat, thank you.

Posted
  On 2/6/2018 at 5:11 PM, Igor said:

OMG! It happened that it was recompiled without eMMC corruption fix patch :( And since my eMMC works in any case, I could not notice anything was wrong ... recompiling.

Edit: recompiled, images changed.


Actually, it was O.K. - can you describe more of your setup and provide logs. I made another test and everything looks fine. Resizing as well.

Expand  

 

I do not have the ardkernel usb serial adapter, but I have an old laptop with a serial port and a serial cable. I use HTerm configured with ascii, baud = 115200 8N1 without CTS. But I have strange characters. Nevertheless my cable works very well with arduino.

Posted

I've downloaded again Armbian_5.40.180207_Odroidc2_Debian_stretch_next_4.14.17 and it boot correctly. I can connect with ssh.  Yet I verified the checksum ...

What about systemd-networkd, systemd-resolved and predictable network interfaces name? Why network-manager is still there?

Posted
  On 2/7/2018 at 3:09 PM, moricef said:

What about systemd-networkd, systemd-resolved and predictable network interfaces name? Why network-manager is still there?

Expand  


Network manager and systemd/if-up can and do work together reasonably well. NM is user-friendly and we keep it to make life easier for novice users. 

 

Predictable network interfaces are yet another upstream "feature" and can be toggled if you want. (has been discussed how)

 

If you like to discuss networking in details, find a related topic: https://forum.armbian.com/search/ and make a post there. Future changes are not completely fixed yet since networking can be in fact fairly complex.

Posted

My problem  with a new installation of  Armbian_5.40.180207_Odroidc2_Debian_stretch_next_4.14.17 is a problem of sd card quality : kingston sd hc I class 10 is not a good purchase. Works very well with a Sandisk 8GB Ultra. Jessie works with the Kingston SDcard.

Posted
  On 2/8/2018 at 4:34 PM, moricef said:

Works very well with a Sandisk 8GB Ultra. Jessie works with the Kingston SDcard.

Expand  


There are problems with some SD cards at the moment. I think it's more like a compatibility issue than quality.

Posted
  On 2/8/2018 at 4:43 PM, Igor said:


There are problems with some SD cards at the moment. I think it's more like a compatibility issue than quality.

Expand  

Do you want I provide some logs? I found a serial to USB adaptator.

Posted

Hello. I am trying to install and set up Open Media Vault 4 on my odroid C2. After updating OMV I have the same problem described above. I also tried not updating linux-u-boot (linux-u-boot-odroidc2-next 5.54), but the software broke also, so there must be another package that also creates a problem. Is there a permanent fix for this? 

 

Thank you

Posted
  On 7/25/2018 at 10:07 PM, elece said:

Hello. I am trying to install and set up Open Media Vault 4 on my odroid C2. After updating OMV I have the same problem described above. I also tried not updating linux-u-boot (linux-u-boot-odroidc2-next 5.54), but the software broke also, so there must be another package that also creates a problem. Is there a permanent fix for this? 

Expand  


Updating OMV from 3 to 4?

P.S. I temporally disable u-boot updating on C2.

Posted
  On 7/26/2018 at 7:00 AM, Igor said:


Updating OMV from 3 to 4?

P.S. I temporally disable u-boot updating on C2.

Expand  

Hello Igor. No, it is a fresh install of the most recent version found in the OMV 4.x for Single Board Computers repository. I haven't even set up OMV yet, because I want to figure this out first before proceeding and eventually breaking it again (I'm not that knowledge of all this staff, I don't know that is u-boot nor how to disable or if I should do it). Any help will be appreciated.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines