Front panel boot progress for U4

Moderators: Gully, peteru

Post Reply
prl
Wizard God
Posts: 32703
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Front panel boot progress for U4

Post by prl » Mon Jul 15, 2019 17:17

You can get the Loading NN% boot progress on the U4 front panel with the following two changes:

Code: Select all

root@beyonwizu4:~# diff -u /etc/init.d/rc.bak /etc/init.d/rc
--- /etc/init.d/rc.bak
+++ /etc/init.d/rc
@@ -33,6 +33,8 @@
         echo $(($progress / 2)) > /proc/progress
     elif [ $progress -gt 0 -a -e /proc/vfd ]; then
         echo Loading $(($progress / 2))% > /proc/vfd
+    elif [ $progress -gt 0 -a -e /dev/dbox/oled0 ]; then
+        echo Loading $(($progress / 2))% > /dev/dbox/oled0
     elif [ $progress -gt 0 -a -e /usr/bin/displayvfd ]; then
         displayvfd -s 18 -t "Booting $progress"
     elif [ $progress -gt 0 -a -e /dev/mcu ]; then
root@beyonwizu4:~#

Code: Select all

Cambyses:python prl$ git diff Tools/Profile.py 
diff --git a/lib/python/Tools/Profile.py b/lib/python/Tools/Profile.py
index fc1f2076f..556261186 100644
--- a/lib/python/Tools/Profile.py
+++ b/lib/python/Tools/Profile.py
@@ -47,6 +47,8 @@ def profile(id):
                dev_fmt = ("/dev/mcu", "%d  \n")
        elif box_type == "ebox5000":
                dev_fmt = ("/proc/progress", "%d")
+       elif box_type == "beyonwizu4":
+               dev_fmt = ("/dev/dbox/oled0", "Loading %d%%\n")
        elif getMachineBuild() in ("inihdp", "inihdx"):
                dev_fmt = ("/proc/vfd", "Loading %d%%\n")
        else:
Cambyses:python prl$
Where do I submit the changes for /etc/init.d/rc?
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
adoxa
Wizard
Posts: 1490
Joined: Thu Feb 23, 2017 22:58
Location: CQ
Contact:

Re: Front panel boot progress for U4

Post by adoxa » Mon Jul 15, 2019 17:59

I thought a year ago that it was part of sysvinit, so it would be up to peteru to change.

User avatar
adoxa
Wizard
Posts: 1490
Joined: Thu Feb 23, 2017 22:58
Location: CQ
Contact:

Re: Front panel boot progress for U4

Post by adoxa » Tue Jul 16, 2019 16:56

prl wrote:
Mon Jul 15, 2019 17:17
Where do I submit the changes for /etc/init.d/rc?
oe-alliance-core by the looks.

prl
Wizard God
Posts: 32703
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Front panel boot progress for U4

Post by prl » Tue Jul 16, 2019 18:07

Looks like. I don't see a pull request there though. Peteru has already merged the changes to Tools.Profile.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Front panel boot progress for U4

Post by Grumpy_Geoff » Tue Jul 16, 2019 18:26

prl wrote:
Tue Jul 16, 2019 18:07
Looks like. I don't see a pull request there though. Peteru has already merged the changes to Tools.Profile.

The 20190715 update has the loading progress on the U4 now, in case you didn't know.

User avatar
peteru
Uber Wizard
Posts: 9735
Joined: Tue Jun 12, 2007 23:06
Location: Sydney, Australia
Contact:

Re: Front panel boot progress for U4

Post by peteru » Tue Jul 16, 2019 18:34

Both changes rolled out in beta release from last night.

"Beauty lies in the hands of the beer holder."
Blog.

prl
Wizard God
Posts: 32703
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Front panel boot progress for U4

Post by prl » Tue Jul 16, 2019 18:42

Grumpy_Geoff wrote:
Tue Jul 16, 2019 18:26
prl wrote:
Tue Jul 16, 2019 18:07
Looks like. I don't see a pull request there though. Peteru has already merged the changes to Tools.Profile.

The 20190715 update has the loading progress on the U4 now, in case you didn't know.

I'd only done the upgrade on my test V2. I've upgraded the U4 now, and you're quite right.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
Gully
Moderator
Posts: 7736
Joined: Thu Aug 30, 2007 22:08
Location: Melbourne

Re: Front panel boot progress for U4

Post by Gully » Tue Jul 16, 2019 19:56

peteru wrote:
Tue Jul 16, 2019 18:34
Both changes rolled out in beta release from last night.
Haven't tried this yet but out of interest are there any fixes for the problem with the 19.3 20190630 firmware hanging on the previous online update or is the only solution a USB "upgrade" of that version to 19.3 20190712?
Cheers
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro

prl
Wizard God
Posts: 32703
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Front panel boot progress for U4

Post by prl » Tue Jul 16, 2019 20:22

Gully wrote:
Tue Jul 16, 2019 19:56
Haven't tried this yet but out of interest are there any fixes for the problem with the 19.3 20190630 firmware hanging on the previous online update or is the only solution a USB "upgrade" of that version to 19.3 20190712?

Not that I know of. I've done all subsequent online updates from a 20190712 USB upgrade base.

I wouldn't have confidence in doing online updates from a 20190630 base.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
Gully
Moderator
Posts: 7736
Joined: Thu Aug 30, 2007 22:08
Location: Melbourne

Re: Front panel boot progress for U4

Post by Gully » Tue Jul 16, 2019 23:53

prl wrote:
Tue Jul 16, 2019 20:22
Not that I know of. I've done all subsequent online updates from a 20190712 USB upgrade base.
So have I now (AFAIK there has only been this one).
I wouldn't have confidence in doing online updates from a 20190630 base.
I wouldn't take the chance either but I asked the question as I hadn't seen it addressed it so far.
Cheers
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro

User avatar
peteru
Uber Wizard
Posts: 9735
Joined: Tue Jun 12, 2007 23:06
Location: Sydney, Australia
Contact:

Re: Front panel boot progress for U4

Post by peteru » Wed Jul 17, 2019 01:14

The existing firmware has an issue that prevents it from completing the update. So, there's no easy fix for the existing systems, other than doing a USB update to ensure a good install.

It would be good to track down why the update is failing and fix the cause, so that future updates don't fail the same way, but I don't have the time to do that. I'd be quite happy if someone else did at least the initial investigation to narrow it down - preferably in it's own thread.

"Beauty lies in the hands of the beer holder."
Blog.

User avatar
Gully
Moderator
Posts: 7736
Joined: Thu Aug 30, 2007 22:08
Location: Melbourne

Re: Front panel boot progress for U4

Post by Gully » Wed Jul 17, 2019 13:28

peteru wrote:
Wed Jul 17, 2019 01:14
The existing firmware has an issue that prevents it from completing the update. So, there's no easy fix for the existing systems, other than doing a USB update to ensure a good install.

It would be good to track down why the update is failing and fix the cause, so that future updates don't fail the same way, but I don't have the time to do that. I'd be quite happy if someone else did at least the initial investigation to narrow it down - preferably in it's own thread.
Thanks for the clarification.
Cheers
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro

Post Reply

Return to “Developers Community”