odroid XU4 boot error after kernel upgrade

Having issues with your DietPi installation, or, found a bug? Post it here.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: odroid XU4 boot error after kernel upgrade

Post by johnvick »

Nice to hear and thanks for a look at Cloudshell 2 - a potential purchase here.

When I mentioned power supply I was replying to Porterdon's post.

John
PorterDon
Posts: 19
Joined: Tue May 23, 2017 4:53 pm
Location: Wang Nam Yen, Thailand

Re: odroid XU4 boot error after kernel upgrade

Post by PorterDon »

Sounds excellent Allamur! :D

But how did you "reinstall dietpi on another card"? Reinstall? Do you mean download the image again, then Win32DiskImager or Etcher it to a different SD card? I did this yet again and got the exact same files as on the previous SD card. So where did you get the missing xynos5422-odroidxu4.dtb file from? I found one on the web which I tried using to no avail.

You must be on the other side of the world because your replies come in about 1-2am my time. :( Think I just might set my alarm tonight - all this systems craziness is shortening my lifespan. :shock:

Sorry I can't figure this out on my own :oops: . Anyway, looks like just *maybe* I am just one step away from ending this nightmare!
PorterDon
Posts: 19
Joined: Tue May 23, 2017 4:53 pm
Location: Wang Nam Yen, Thailand

Re: odroid XU4 boot error after kernel upgrade

Post by PorterDon »

In rereading your last post Allamur, I assume you meant you installed to a new 'board' rather than 'card'. If so, that means your xynos5422-odroidxu4.dtb file showed up during that download/install. And if THAT is true, my entire problem is that I am NOT getting a ---4.dtb file when I do a fresh download/install.

Moderators, do you watch over us with our problems on this forum? :? In my opinion this should be your primary role. We don't care about maybe being offended (or even insulted) as much as we care about GETTING the HELP WE NEED so we can stop waisting time and move on! Your assistance in directing the appropriate resource (often Fourdee) to help get us past a killer obstacle is critical otherwise we sit dead in the water. I have 2 lovely XU4s and a great new HC1 just sitting here unable to even boot up. Often a resolution is trivial, but is impossible to get past for those of us not having enough experience or relevant background. Rant over.
Allamur
Posts: 30
Joined: Mon Jun 26, 2017 2:58 pm

Re: odroid XU4 boot error after kernel upgrade

Post by Allamur »

Wasn't online yesterday..

The process was quiet easy, I installed the dietpi image via dd onto another SD card and updated it, copied the dtb file from the new card onto my other card (the one which didn't work) and voilà, it's working again.
no need to replace my SD card , no new xu4 or anything like that.
you just have to check your boot.ini if the right dtb file is referenced like mentioned a few posts before and that the firmware file which is referenced is in the boot directory.
but if the blue led is blinking it's actually a working installation, I don't use the hdmi output so I cannot tell if there's another problem in terms of display output issues like you have.
PorterDon
Posts: 19
Joined: Tue May 23, 2017 4:53 pm
Location: Wang Nam Yen, Thailand

Re: odroid XU4 boot error after kernel upgrade

Post by PorterDon »

Thanks for the reply Allamur. I thought I'd give you a day off yesterday. :D Ok, I understand your re-install now.

Hmm, so a blinking blue light means a working installation? I have experienced that during all my 'testing'. Well, that demands that I hook up a serial console (something I've never done before) tout de suite! Evidently it allows monitoring when one's monitor isn't displaying for whatever reason. I did, BTW, I looked at my boot file in my C2 (which is working fine) trying to get a clue about HDMI settings. Inconclusive at this point, need to look at that again. Gotta run...want to do that serial console thing like right now. :!:
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: odroid XU4 boot error after kernel upgrade

Post by k-plan »

PorterDon wrote: Moderators, do you watch over us with our problems on this forum? :? In my opinion this should be your primary role. We don't care about maybe being offended (or even insulted) as much as we care about GETTING the HELP WE NEED so we can stop waisting time and move on!
Same here. No time for poking around and I don't have any Odroid XU3 or XU4.

Do do think we have to do this? We have no famaly and a lot of spare time and money? But anyway ...

Allamur get, as I see, the correct hint in his first answer.
It take some time, until he notice, that this hint was correct and how to do it.

I think, your problem is the auto update apt-get function of the installation.
If your devices have no internet access at the first bootup from a fresh image on sd card, it should work with DietPi_v154_OdroidXU4-armv7-(Jessie) image and a working kernel. And you can login via SSH.
But no chance to test it, I have no XU4 ....



PorterDon wrote:...want to do that serial console thing like right now.
First you need a USB to Serial UART bridge IC with 1.8V interface !!!

Easy way is to use this : http://www.hardkernel.com/main/products ... 4111883934

Connect it:

Board: http://www.hardkernel.com/main/_Files/p ... 180225.jpg

Port description of UART Connector: https://wiki.odroid.com/accessory/devel ... _connector

Depend on your URAT adapter it is possible, you have to chance RX/TX connection cross over.

Now you have to install the correct USB to UART Bridge Driver for your adapter and your OS.

Use any serial terminal or putty or kitty.
115200 8N1 - 115200 baud, 8 data bits, no parity, and 1 stop bit

Then, you need to set some basic options.
- Connection Type
Select the radio box, Serial of Connection type.
- Serial Line
Input the Serial line to COM Port number. You can get the COM port number from Device Manager menu.
- Speed (Baudrate)
Change the Serial speed to 115200 baudrate.
Every setting is now complete to run putty.
Open your serial port!

https://wiki.odroid.com/accessory/devel ... tion_guide

And, before you boot up your device, you have to edit dietpi.txt on your sd card with a unix compatible editor like Notepad2, PSPad, Notepad++, AkelPad , Nano, VIM, ... :

https://github.com/Fourdee/DietPi/blob/ ... i.txt#L170

Notice:

https://github.com/Fourdee/DietPi/issue ... -298176317


... and if nothing helps, open a issue on Github, so Fourdee can have a look on it: https://github.com/Fourdee/DietPi/issues/
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
PorterDon
Posts: 19
Joined: Tue May 23, 2017 4:53 pm
Location: Wang Nam Yen, Thailand

Re: odroid XU4 boot error after kernel upgrade

Post by PorterDon »

Now that is the post I've been waiting for k-plan, thanks very much!

Well, I have no family, but unlimited free time and a little extra money. You need an XU4! -- so when you are ready to order one, PM me and I will happily pay the first $20. My serial cable wasn't the right kind and I thought I had a UART to USB kit but I don't so I still can't confirm anything. I've ordered the Odroid bridge w/IC ($12.95) and will get it in about a week (it is a horrid $15.85 to have it shipped across the big pond to Thailand but so be it). The good news is my blue light IS flashing so it appears the board has booted! I had no success with SSH because the necessary settings couldn't be made yet. I'll fiddle some with resolution settings and maybe will get some love that way while awaiting my shipment. Thanks again for getting involved and helping further!
Last edited by PorterDon on Fri Nov 17, 2017 3:11 am, edited 1 time in total.
PorterDon
Posts: 19
Joined: Tue May 23, 2017 4:53 pm
Location: Wang Nam Yen, Thailand

Re: odroid XU4 boot error after kernel upgrade

Post by PorterDon »

Well I fussed around with resolution/monitor settings, boot files, config files, dietpi.txt files all day today. I'll be damned if I could get anything to display on my monitor other than No Signal. I switched cables, grounded the XU4 with the monitor via USB cable, tried various settings, reviewed forum posts (again), etc., etc. I'd pitch that bloody monitor in the trough but it WORKS with every other micro I have! Off to bed, I've had enough of this crap for today. I've got stuff I need to get done so tomorrow I switch over to my Atom Z8350, our nemesis, our arch-rival, on which I succeeded in getting Gates off and Ubilinux 4 on. If I had sense I've probably make the switch from Odroid and live happily ever after. But, no, after (let's see: 2017-1966=?) 51 years of chasing dizzy, crazed rabbits can't change now. Besides, I'm a loyal sucker ... and I never give up. :ugeek:
Last edited by PorterDon on Fri Nov 17, 2017 3:13 am, edited 2 times in total.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: odroid XU4 boot error after kernel upgrade

Post by johnvick »

Have you checked the emmc/SD card selector switch is in the right position?
PorterDon
Posts: 19
Joined: Tue May 23, 2017 4:53 pm
Location: Wang Nam Yen, Thailand

Re: odroid XU4 boot error after kernel upgrade

Post by PorterDon »

Sure have John, thanks. Plus the HC1 doesn't have a switch.
Post Reply