Mini U-boot for UFS910

Status
Not open for further replies.

juli13

Staff member
Administrator
Messages
10,198
Installation manual:
Download and unzip the attachment erstmal.
HyperTerminal and kermit are a possibility:

Box turning and stopping in the HyperTerminal on the console and then booting eintippeln on Promt STB7100-ref> following line and press <enter> taste:

loadb a4000000

in the HyperTerminal on "Transfer / click on the Send File", and miniUPDATE.img kermit-mode select and send. When the transfer is finished, type in the console forward those 3 lines and confirm each with <enter> taste.
Please take care to meticulously Tppfehler:

A0030000 protect A003FFFF off
erase A0030000 A003FFFF
cp.b A4000000 A0030000 10,000

ready ... n few seconds after turning box and again.


Innovations in brief:

compatible with the existing mini-bootargs
The variable-bootargs Bootmenuteimeout falls away completely
new variable-bootargs bootdesc_default with numerical value 0-9 contents
will boxstart during the bootdesc_default performed within 0.3 sec,
But if you want to pick something else, then we must simply with the arrow up / down button and hold boxstart order is then adjusted 10sec timeout and you have enough time to choose from.

To change the bootdesc_default too must first be held at Boxstart Pfeilup / down button is pressed, so that the timeout is set to 10sec. Now bring the desired selection in the display and the <FAV> key press and hold about 3 sec) (until "saving" by default. The selection is saved for the next Boxstart as default and the image started directly.

-bootconf-repair
When times are gone and bootargs garnix more passes (for example, "Warning: bad CRC, using default"): r.1 while the mini is still in its place in the flash it can be run via the serial console with "Bootmen A0030000"
Then you have to ... restarted simply do nothing and wait until the box has 2 times.
Then is then:
the bootargssektor repaired
ipaddr = 192.168.178.77
serverip = 192.168.178.1
GatewayIP = 192.168.178.1
netmask = 255.255.255.0
ethaddr = 00:50: fd: ff: 12:34
bootcmd = Bootmen a0030000

With these default settings, even a (not yet destroyed) image is back to normal start.
If the image should also be broken, so now at least back to KCC or access over the network because all the hardware required bootargs been restored.

emergency_boot:
In Rev1.0 that was not there. Is now again fully operational, the Menutaste the device must be only about 2 sec longer pressed.

direct flashing with mini:

if one of nem on an internal SATA or USB stick or on a full-nem TFTPserver image with names
miniFLASH.img
test (size 15.8 MB) and the Boxstart the REC button is pressed holds approximately 3 seconds (until "FLASH mini search" in the display) appears, then the miniFLASH.img searched in the media. Once it is found, it is loaded and flashed. FAT32 or ext2 does not matter on the stick ... miniFLASH.img has only the root of the partition are FIRST, then 0:1 to USB or IDE 0:1. Even the usually used as a swap device on the USB stick is suitable. Here, then in the subdirectory / images / after miniFLASH.img sought.

mini disable:
hold down Boxstart Exit ", then that becomes bootcmd set back to original" Bootmen a0040000. This makes the mini "out there"

This version should also work together with existing BAinstallationen and can also be used with the current e2BA 0.33. To a lesser extent changing operation. If there is something still not right, then please
1. not being angry and
2. Items so that we can adjust the
 

juli13

Staff member
Administrator
Messages
10,198
Code:
so, nu auch hier

Installation manuell:
Den Anhang downloaden und erstmal entpacken.
Hyperterminal und kermit sind eine Möglichkeit:

Box einschalten und im Hyperterminal an der Konsole den Bootvorgang stoppen und dann am Promt STB7100-ref> folgende Zeile eintippeln und mit <enter>taste bestätigen:

loadb a4000000

im Hyperterminal auf "Übertragen/Datei senden" klicken, miniUPDATE.img und kermit-mode auswählen und senden. Wenn die Übertragung fertig ist, in der Konsole weiter diese 3 Zeilen eintippen und jeweils mit <enter>taste bestätigen.
Bitte peinlichst genau auf Tppfehler achten:

protect off A0030000 A003FFFF
erase A0030000 A003FFFF
cp.b A4000000 A0030000 10000

fertig... nach n paar sekunden Box aus und wieder einschalten.


Neuerungen in Kurzform:

-kompatibel mit den bisherigen mini-bootargs
-die bootarg-Variable Bootmenuteimeout fällt komplett weg
-neue bootarg-Variable bootdesc_default mit Zahlenwertinhalt 0 bis 9
-beim boxstart wird das bootdesc_default innerhalb von 0,3 sek ausgeführt,
Wenn man aber mal was anderes auswählen möchte, dann muß man schlichtweg beim boxstart die Pfeil up/downTaste gedrückt halten, damit wird dann 10sek timeout eingestellt und man hat genügend Zeit zum Auswählen.

Um das bootdesc_default zu ändern muß zunächst einmal bei Boxstart Pfeilup/down Taste gedrückt gehalten werden, damit der Timeout auf 10sek gesetzt wird. Jetzt die gewünschte Auswahl ins Display bringen und die <FAV>taste drücken und festhalten (ca 3 sek) bis im Display "saving default". Die Auswahl wird für den nächsten Boxstart als default gespeichert und das Image direkt gestartet.

-bootconfig-repair
Wenn die bootargs mal weg sind und garnix mehr geht (z.B "Warning: bad CRC, using default"): solange das mini r.1 noch an seinem Platz im Flash ist kann es über die serielle Konsole gestartet werden mit "bootm A0030000"
Dann muß man... einfach nix tun und warten bis die Box 2 mal neugestartet hat.
Danach ist dann:
der bootargssektor repariert
ipaddr=192.168.178.77
serverip=192.168.178.1
gatewayip=192.168.178.1
netmask=255.255.255.0
ethaddr=00:50:fd:ff:12:34
bootcmd=bootm a0030000

Mit diesen Standardeinstellungen wird sogar ein (noch nicht zerstörtes) Image wieder normal gestartet.
Wenn das image auch kaputt sein sollte, so geht nun zumindest wieder der Zugriff mit KCC oder übers Netzwerk weil dazu alle nötigen bootargs wiederhergestellt wurden.

emergency_boot:
in rev1.0 war das nicht drin. Ist jetzt wieder vollständig funktionsfähig, die Menutaste am Gerät muß nur ca 2 sek länger gedrückt werden.

direktes Flashen mit mini:
wenn man auf nem USBstick oder auf interner SATA oder auf nem TFTPserver ein full-image mit namen
miniFLASH.img
ablegt (Größe 15,8MB) und beim Boxstart die REC-taste ca. 3 sek gedrückt hält (bis "miniFLASH search" im Display erscheint), dann wird das miniFLASH.img in den Medien gesucht. Sobald es gefunden wird, wird es geladen und geflasht. FAT32 oder ext2 ist dabei auf dem Stick egal... miniFLASH.img muß nur im Stammverzeichnis der ERSTEN Partition liegen, also auf USB 0:1 oder IDE 0:1. Auch die meist so verwendete SWAPpartition auf dem USBstick ist dafür geeignet. Hier wird dann auch im Unterverzeichnis /images/ nach dem miniFLASH.img gesucht.

mini deaktivieren:
beim Boxstart <EXIT>taste gedrückt halten, dann wird das bootcmd wieder auf original "bootm A0040000" gesetzt. Damit ist das mini "draußen"

Diese Version sollte auch mit vorhandenen BAinstallationen zusammen funktionieren und kann auch mit der aktuellen e2BA 0.33 benutzt werden. In geringem Maße ändert sich Bedienung. Wenn da irgendwas immer noch nicht richtig geht, dann bitte
1. nicht böse sein und
2. Posten damit wir das entsprechend anpassen können

Danke Einstein:
es kann in Verbindung mit WindowsVista zu Übertragungsfehlern im kermit-mode kommen. Dann am besten mit anderem Betriebssystem versuchen. Zukünftig geht ab r1.1 beim mini auch eingeständiges Update vom USBstick.

Vielen Dank auch an kiowa, ohne dessen Hilfe das ganze niemals so zustande gekommen wäre.


//Edit
Bootargs für originalsoft FW2.02RC hinzugefügt
Bootargs für originalmod 2.02RC mit 2ndBL und FTP hinzugefügt
 

juli13

Staff member
Administrator
Messages
10,198
13.11.2009

mini U-boot r.1.2

Code:
[B]Installation manual: [/B]
Download and unzip the attachment erstmal. 
HyperTerminal and kermit are a possibility: 

Box turning and stopping in the HyperTerminal on the console and then booting eintippeln on Promt STB7100-ref> following line and press <enter> taste: 

loadb a4000000 

in the HyperTerminal on "Transfer / click on the Send File", and miniUPDATE.img kermit-mode select and send. When the transfer is finished, type in the console forward those 3 lines and confirm each with <enter> taste. 
Please take care to meticulously Tppfehler: 

A0030000 protect A003FFFF off 
erase A0030000 A003FFFF 
cp.b A4000000 A0030000 10,000 

ready ... n few seconds after turning box and again. 


[B]Innovations in brief: [/B]

compatible with the existing mini-bootargs 
The variable-bootargs Bootmenuteimeout falls away completely 
new variable-bootargs bootdesc_default with numerical value 0-9 contents 
will boxstart during the bootdesc_default performed within 0.3 sec, 
But if you want to pick something else, then we must simply with the arrow up / down button and hold boxstart order is then adjusted 10sec timeout and you have enough time to choose from. 

To change the bootdesc_default too must first be held at Boxstart Pfeilup / down button is pressed, so that the timeout is set to 10sec. Now bring the desired selection in the display and the <FAV> key press and hold about 3 sec) (until "saving" by default. The selection is saved for the next Boxstart as default and the image started directly. 

-bootconf-repair 
When times are gone and bootargs garnix more passes (for example, "Warning: bad CRC, using default"): r.1 while the mini is still in its place in the flash it can be run via the serial console with "Bootmen A0030000" 
Then you have to ... restarted simply do nothing and wait until the box has 2 times. 
Then is then: 
the bootargssektor repaired 
ipaddr = 192.168.178.77 
serverip = 192.168.178.1 
GatewayIP = 192.168.178.1 
netmask = 255.255.255.0 
ethaddr = 00:50: fd: ff: 12:34 
bootcmd = Bootmen a0030000 

With these default settings, even a (not yet destroyed) image is back to normal start. 
If the image should also be broken, so now at least back to KCC or access over the network because all the hardware required bootargs been restored. 

[B]emergency_boot: [/B]
In Rev1.0 that was not there. Is now again fully operational, the Menutaste the device must be only about 2 sec longer pressed. 
[B]
direct flashing with mini: [/B]
if one of nem on an internal SATA or USB stick or on a full-nem TFTPserver image with names 
miniFLASH.img 
test (size 15.8 MB) and the Boxstart the REC button is pressed holds approximately 3 seconds (until "FLASH mini search" in the display) appears, then the miniFLASH.img searched in the media. Once it is found, it is loaded and flashed. FAT32 or ext2 does not matter on the stick ... miniFLASH.img has only the root of the partition are FIRST, then 0:1 to USB or IDE 0:1. Even the usually used as a swap device on the USB stick is suitable. Here, then in the subdirectory / images / after miniFLASH.img sought. 

[B]mini disable: [/B]
hold down Boxstart Exit ", then that becomes bootcmd set back to original" Bootmen a0040000. This makes the mini "out there"
 

juli13

Staff member
Administrator
Messages
10,198
Miniuboot Update 1.3

Code:
This is MANDATORY Miniuboot needed next to the image! And, of course, be installed before the update again next image too!
It's not enough to install only the Mini but must of course be also activated in the Bootrags: bootcmd Bootmen = a0030000!

Miniuboot Without this new future will not boot images. But the advantage is: you have a new image build more free space available in Flash!
So it's worth it!

So, I hang here an IPK, here you on the box after tmp / copied. Then you'll manage through
AAFPanel -> Extensions -> Install IPK tmp
. reinstall

Online may also update the miniuboot under Ruprik "update" to be found in Menu -> Extensions -> green button!

It is, as always, everything is automatic ... should get no error message, then the update worked!

The only disadvantage of the new mini: Booting from NFS now had to give way ....

... Solala will you in regard to the questions miniuboot best able to answer, since it his "baby"!


So lost again to make short:
WITHOUT miniuboot1.3 no Flash Christmas Image
 
Status
Not open for further replies.
Top