Jump to content


snake.bite

Member Since 10 Jan 2014
Offline Last Active 14 Sep 2024 13:55
-----

Posts I've Made

In Topic: VU+ Solo2 Flash Image fails immediately

14 September 2024 - 13:56

Hi all,

thanks for your great support! I have tried with the command line first. Following https://wiki.openpli...he_command_line

root@vusolo2:~# ofgwrite -r -k /hdd/downloaded_images/vuplus/solo2/
mkdir: can't create directory '/newroot': File exists
/usr/bin/ofgwrite: line 6:   744 Segmentation fault      /newroot/ofgwrite_bin "$@"
root@vusolo2:~#

Moving /newroot away wasn't possible because it was in use.

 

Never give up hope, tried the UI. Used the 2024-09-08 image from 9.0. Output on serial was not helpful. (was it even related?):

[eDVBPESReader] ERROR reading PES (fd=68): Value too large for defined data type

So, next for the USB. Downloaded openpli-9.0-release-vusolo2-20240908_usb.zip. Extracted on 8GB FAT-USB drive according to https://wiki.openpli..._a_Vu.2B_Solo_2

 

Serial console output

FE initialized.
USB: New device connected to bus 3 hub 1 port 1
USB: Resetting device on bus 3 hub 1 port 1
USB: Locating Class 08 Vendor 090C Product 1000: Mass-Storage Device
USBMASS: Unit 0 connected
waiting for usb...done
checking usb
Found high priority Mass Storage bus = 3, index  = 0 
checking front key
readFrontKey 0 0
Checking usbdisk0:/vuplus/solo2/ignore.update......NO
Checking usbdisk0:/vuplus/solo2/force.update......NO
Checking usbdisk0:/vuplus/solo2/cfe_cfe_auto.bin......NO
Checking usbdisk0:/vuplus/solo2/root_cfe_auto.bin......YES
Checking usbdisk0:/vuplus/solo2/splash_cfe_auto.bin......NO
Checking usbdisk0:/vuplus/solo2/kernel_cfe_auto.bin......YES
Checking usbdisk0:/vuplus/solo2/reboot.update......YES
waiting for update key
ACK : 
readFrontKey 0x0
ACK : 
ACK : 
FrontPanel Key : d1, 1
readFrontKey 0xd101
Update
Reading usbdisk0:/vuplus/solo2/cfe_cfe_auto.bin:  Skipping...: File not found
Reading usbdisk0:/vuplus/solo2/initrd_cfe_auto.bin:  Done. 5976879 bytes read

Programming...
done. 5976879 bytes written
Reading usbdisk0:/vuplus/solo2/splash_cfe_auto.bin:  Skipping...: File not found
Reading usbdisk0:/vuplus/solo2/kernel_cfe_auto.bin:  Done. 3601830 bytes read

Programming...
done. 3601830 bytes written
Checking usbdisk0:/vuplus/solo2/root_cfe_auto.bin......YES
Loader:elf Filesys:raw Dev:flash0.initrd File: Options:bmem=192M@64M bmem=256M@512M
Loading: 0x80001000/12707456 0x80c1f680/113040 Entry address is 0x8048f3e0
Starting program at 0x8048f3e0

Linux version 3.3.6-1.2-g7f330e7-dirty (shcheong@NcshN2) (gcc version 4.5.3 (Broadcom stbgcc-4.5.3-2.4) ) #9 SMP Tue Feb 12 10:55:17 KST 2013
Fetching vars from bootloader... found 13 vars.

...

So, it worked!

 

I have no clue what was different this time or why flashing from within OpenPli did not work. Next time, I will definitely monitor the process through serial. That was a great tip WanWizard!

 


In Topic: VU+ Solo2 Flash Image fails immediately

7 September 2024 - 19:17

Good idea, will try to connect to the RS232 next time.

 

Flashing from OpenPLi was my first attempt. I could not see any more hints. Judging on how quickly it fails, I would assume there is some integrity or signature check that fails. Or some magic number is off. Size check would fit as well :-| OTOH the installed image works fine and can take package updates. But then I have no idea about the actual layout in flash and what's on the HDD for example.

 

I was hoping the flash utility in OpenPLi creates some logs while not actually flashing that could be inspected.

 

Chris.