[SOLVED]:apt update error and now no display ?

Post Reply
scjet
Posts: 7
Joined: Sun Nov 11, 2018 10:25 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 1 time
Been thanked: 0
Contact:

[SOLVED]:apt update error and now no display ?

Post by scjet »

hey all,
I just got my new C4, with the Ubuntu Mate 20.04 eMMC.
I connected it to my 1080p Monitor, mouse, keyboard, ethernet, and plugged in the power adapter.
It initially booted up fine and display was fine.
Did a sudo apt-get update; sudo apt-get upgrade, rebooted and ok.

I then fixed an apt error with bionic ---> focal releases.
In the Menu -> "Software Updater..." ---> "Other Software", I changed all reference of bionic to focal in ppa lines and releases...
( again, I did not change or add any new ppa's,..., just changed bionic ---> focal).
It then re-cached the new "focal" ppa's, and all was still ok.

In a Terminal I again did a sudo apt-get update; sudo apt-get upgrade.
From what I remember on the screen there were 7 updates referring to "libsdl..., and some other pkgs. These upgrades completed and all looked well.

Then I did a sudo reboot, but the Display never came back. ?
(I also tried unplugging power, waiting a bit, and then plugging power back in, but still no Display ?).

On the C4 there is a solid red and blue led that are both on,(not flashing), and a solid greenish/yellow led on the Ethernet port.

I have no idea what to do now ?

Can someone give me some advice
Last edited by scjet on Tue Nov 03, 2020 6:18 pm, edited 3 times in total.

scjet
Posts: 7
Joined: Sun Nov 11, 2018 10:25 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: apt update error and now no display ?

Post by scjet »

UPDATE:
I'm now glad I ordered the usb3 to eMMC adapter. I flashed a new Ubuntu image for C4, https://wiki.odroid.com/getting_started ... _odroid-c4, and everything is back up.
My previous sudo apt-get upgrade, (after I changed every "bionic" to "focal"", had modified and added some new files in /BOOT folder.
It created a new boot.ini, and copied the original boot.ini to boot.ini.OLD, and added
config.ini
display.bin
edid.bin

Code: Select all

-rw-r--r-- 1 duh duh     2176 Nov  2 20:17 boot.ini
-rw-r--r-- 1 duh duh     4569 Nov  2 20:17 boot.ini.old
-rw-r--r-- 1 duh duh     3207 Nov  2 20:17 config.ini
-rw-r--r-- 1 duh duh      120 Dec 31  1979 display.bin
-rw-r--r-- 1 duh duh      256 Dec 31  1979 edid.bin
The Image.gz, meson64_odroidc4.dtb, and uInitrd remained the same.

I'll mark this as SOLVED for now.
Anyway, I'm completely new to the world of SBC's, so you'll have to excuse my ignorance here. ;)

User avatar
odroid
Site Admin
Posts: 35909
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1320 times
Been thanked: 913 times
Contact:

Re: [SOLVED]:apt update error and now no display ?

Post by odroid »

Glad to hear that. :D

scjet
Posts: 7
Joined: Sun Nov 11, 2018 10:25 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [SOLVED]:apt update error and now no display ?

Post by scjet »

So I found the cause, but not the cure.
Everything works fine.... sudo apt update; sudo apt full-upgrade

except for the below release error whenever updating, although my C4 still upgrades and comes up fine after a restart.
Ign:1 http://deb.odroid.in/c4 bionic InRelease
Err:2 http://deb.odroid.in/c4 bionic Release
404 Not Found [IP: 104.236.30.141 80]
E: The repository 'http://deb.odroid.in/c4 bionic Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
So I edit:
/etc/apt/sources.list.d/odroid.list
and change "bionic" to "focal"
sudo apt update; sudo apt full-upgrade
Get:1 http://deb.odroid.in/c4 focal InRelease [1694 B]
....
ok
----------------------------------------------
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
gnome-session-common libdouble-conversion1 libfcitx-qt5-data libgraphene-1.0-0 libicu60 libllvm9 libqt5core5a libqt5dbus5 libqt5network5 libxcb-image0 libxcb-keysyms1
libxcb-render-util0 qttranslations5-l10n
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
libsdl2-2.0-0
The following packages will be upgraded:
bootini u-boot
2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 496 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.odroid.in/c4 focal/main arm64 u-boot arm64 20200820-323528c-5 [492 kB]
Get:2 http://deb.odroid.in/c4 focal/main arm64 bootini arm64 20201013-12 [4020 B]
Fetched 496 kB in 0s (1804 kB/s)
(Reading database ... 203931 files and directories currently installed.)
Preparing to unpack .../u-boot_20200820-323528c-5_arm64.deb ...
Unpacking u-boot (20200820-323528c-5) over (20200218-5bed4de-11) ...
Preparing to unpack .../bootini_20201013-12_arm64.deb ...
Unpacking bootini (20201013-12) over (20200327-5) ...
Setting up u-boot (20200820-323528c-5) ...
1702+1 records in
1702+1 records out
871792 bytes (872 kB, 851 KiB) copied, 0.0380062 s, 22.9 MB/s
Setting up bootini (20201013-12) ...
cp: cannot stat '/media/boot/config.ini': No such file or directory
A new boot.ini is installed.
Any changes to boot.ini is lost, such as display configuration
Persistent custom settings from /media/boot/boot.ini.default have been restored
For reference your old boot.ini is saved to /media/boot/boot.ini.old
--------------------------------------------------

Everything upgrades fine, but upon a reboot, system hard hangs, no display, no network, ...(solid red and blue light) showing it's stuck in some boot phase, and the culprits are somewhere in the new "boot.ini" and\or "config.ini", or maybe "u-boot" ? :)
/media/boot/boot.ini
/media/boot/config.ini

I simply overwrite the (new) boot.ini with the (original) boot.ini.old, and everything comes up fine again.
So I'll have to investigate in more detail the diff's between the new and old boot.ini, and config.ini as well.

yep, I'm not in kansas anymore with these SBC"S but it's fun. ;)

User avatar
odroid
Site Admin
Posts: 35909
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1320 times
Been thanked: 913 times
Contact:

Re: [Mostly-SOLVED]:apt update error and now no display ?

Post by odroid »

Did you flash this latest image? We already fixed the wrong server settings in apt list files.
https://wiki.odroid.com/odroid-c4/os_im ... e/20201020

We had to update the OS image links in the OS install guide wiki page. :oops:
Sorry for the inconvenience caused. We will update it soon.
These users thanked the author odroid for the post:
scjet (Tue Nov 03, 2020 4:17 pm)

scjet
Posts: 7
Joined: Sun Nov 11, 2018 10:25 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [SOLVED]:apt update error and now no display ?

Post by scjet »

odroid wrote:
Tue Nov 03, 2020 2:52 pm
Glad to hear that. :D
yep, slowly but surely.

btw, in my default boot.ini file is there a switch for turning on verbose console output boot logging onto my HDMI screen, similar to what Linux does on a desktop by removing the "quiet" in grub's boot ?
my bootargs:

Code: Select all

setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs max_freq_a55=${max_freq_a55} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} logo=osd0,loaded ${cec_enable} sdrmode=${sdrmode}"
There's also a
"setenv condev "console=ttyS0,115200n8" # on both"

Thanks ahead for any help.

scjet
Posts: 7
Joined: Sun Nov 11, 2018 10:25 pm
languages_spoken: english
ODROIDs: C4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [Mostly-SOLVED]:apt update error and now no display ?

Post by scjet »

odroid wrote:
Tue Nov 03, 2020 4:03 pm
Did you flash this latest image? We already fixed the wrong server settings in apt list files.
https://wiki.odroid.com/odroid-c4/os_im ... e/20201020

We had to update the OS image links in the OS install guide wiki page. :oops:
Sorry for the inconvenience caused. We will update it soon.
ok thanks, I didn't even know there was a new one, I should've looked around more.
I'll give the newer 'Bumtu "...20201020" image a try as well, besides I need practice flashing, lol.

Just an FYI: On your https://east.us.odroid.in/ubuntu_20.04lts/c4/
It is still showing only the "20200422" images for C4 ?,
but the other download servers for the latest images, are ok, showing the "20201020" images.

User avatar
odroid
Site Admin
Posts: 35909
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1320 times
Been thanked: 913 times
Contact:

Re: [Mostly-SOLVED]:apt update error and now no display ?

Post by odroid »

The east server seems to have a remote sync problem. We will look into that too.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests