PDA

View Full Version : updating second stage on dreambox.



Comfysofa
02-05-11, 01:07
Sorry - i know im posting in the wrong area but theres nothing going on in the 7025 area - the last post was mine from god knows how long ago....but, i believe the theory is the same.

ultimately im trying to get barry allen on a fresh install on my 7025+ no matter what i use (image wise) and no matter what version of barry allen i use i cant get it to install - barry allen complains about the second stage being out of date (and i cant get that on either) - been at it for hours and i cant get past first base - can anyone help ??

Comfysofa
02-05-11, 01:08
off to bed now as ive had enough....

basilyoung
02-05-11, 01:13
not got a 7025 here, but do have a 7020

what I did was load zoom on as a base image, got a usb stick activated, then used the barryallen plugin to install

hope this helps, and sorry about the lack of resonce

Larry-G
02-05-11, 05:54
moved this thread into the DM7025 section where it should be.

we need some more information.

such as what version second stage are you trying to load to the box ? as the latest version is 83
what are you using to flash this second stage bootloader ?
etc etc etc.

also have you tried getting rid of barry allen all together and using something else such as DUMBO the dumb boot plugin ?

again provide as much information as possible.

Comfysofa
02-05-11, 11:33
Hi - thanks for the responses - as i say i posted here as there are literally 2 posts in the 7025 area (and one of them was mine) so i guessed if i posted then no one would answer, and being as its enigma 2 then i thought i would ask here.

Ok - either im doing something wrong or i dont understand how to do it.

Ive found a number of second stage files, some ipk's, some nfi files - none of them work, the nfi's when i install from the dream up software it goes on but if i try to install barry allen (v5.0.18 i think) it says that the second stage needs to be updated, depending on which version of barry allen i use will depend on the error/minmum version for the second stage.

are there any images with barry allen already pre configed in...?

Comfysofa
02-05-11, 11:44
Sorry - forgot to add im using a compact flash card (2gig) when barry allen works it does always find the CF card and install to there, but as i say its not even getting that far...

Comfysofa
02-05-11, 11:45
i did used to have a version that worked but lost it, saying that as there are much newer versions (v5.something is out) then it would be nice to use that - ive found barry allen the single most useful bit of software on the dreambox as it enables me to mess around with other images without loosing a stable image to return to. many thanks for all the help by the way.

Comfysofa
02-05-11, 11:46
never heard of dumbo - whats that...?

Larry-G
02-05-11, 11:54
never heard of dumbo - whats that...?

read this it will explain it all


http://wiki.blue-panel.com/index.php/Dumbo_%28en%29

Comfysofa
02-05-11, 12:09
ok - am i right in assuming that its one usb device per image?? looks from what i can see to be a lot clunkier that Barry Allen?? has anyone used this instead of Barry Allen

Comfysofa
02-05-11, 12:10
Ironically it needs the secondstage loader to be updated!!! which is my initial problem...

pooface
02-05-11, 12:45
I don't know about the 7025, as I have never used it.... But, from what I remember with the dm800, the secondstage loader was updated the same way as installing an image in flash.

i.e. You would press the standby button when booting up, wait for the ip address to appear on screen, enter that ip on your pc, and load the secondstage through that. But, the last secondstage I used on dm800 was 76, so was quite a while ago I needed to worry about all that :p

Comfysofa
02-05-11, 13:45
Yeah - ive tried it both ways - some secondstage loaders were nfi's and some were ipkg's. I still havent got it working yet ( trying for the last 2 hours or so ) but i did get a different result. I flashed the GP 4.7 image to base rom and then ran an ipkg secondstage loader which gave me this....

dm7025 login: root
root@dm7025:~# cd /
root@dm7025:/# ipkg install /tmp/dreambox-secondstage_83-r0a_dm7025.ipk
Installing dreambox-secondstage (83-r0a) to root...
Configuring dreambox-secondstage
*** raw flash write tool. Don't have bad sectors or it won't work.
*** uncompressing... ok!
*** FLASH_GEOM: 02000000 00004000 00000200 00000010 00000005
*** CRC check ignored!
*** stage 0: ..00000000 | 00000008..00000014 (12 bytes)
*** stage 1: ..00040000 | 00000018..00021018 (135168 bytes)
*** stage 2: ..00000000 | 0002101c..0002101c (0 bytes)
*** stage 3: ..00000000 | 00021020..00021020 (0 bytes)
*** bad block list: none
*** writing.. ok!
*** done!

but after i rebooted the box i got nothing (blank display on the DB and no video) so, something happened....will try again now...

Comfysofa
02-05-11, 13:47
This then begs another question....once the second stage is written - is that something that is permanent (ie flashed to the main board away from the general image flashing) - once its done then the secondstage is always at (in my case version 83 had it have worked) or is it a software only thing??

pooface
02-05-11, 14:11
This then begs another question....once the second stage is written - is that something that is permanent (ie flashed to the main board away from the general image flashing) - once its done then the secondstage is always at (in my case version 83 had it have worked) or is it a software only thing??

Not 100% sure on this ... But, I think that it's image dependant. IIRC, on the dm800, some images were built with the ss loader in them. Upon flashing the image to the box, it would overwrite the memory for the ss loader with the one in the image. Others didn't, and so would use whichever you had written to it...

Wonder if there could be some sort of problem with your box, or could be the secondstage loaders?! Might be worth trying to contact dmm directly. I know when I had a problem with my dm800 psu, they sorted it out no problems. With this being an older box though, not sure what they'll do?!

Comfysofa
02-05-11, 14:42
Nah - this one was one of the last 7025+'s - although ive had a bit of a breakthrough, just. After i got the black screen i reflashed again with the gemini4.7 image. Once id done this i ran barry allen and it failed on something to do with USB drivers in the kernel. But, no message about the second stage (looks like it took) and it looks like it is as i though - some sort of firmware upgrade aside from the regular image. i plugged in a usb stick which is thought about for a while then came up with it. I ran barry allen again which then tried to format the stick but then couldnt. Essentially it didnt then come up with the USB error, a step closer....

I took the stick out and then ran it again and then it ran, but installed to the hard disc. No great shake but id rather have it on the CF card then its on itso own separate area should anything happen to the hard disc. So, its now on but on the hard disc....so im going to reflash, disconnect the hd and then see if it forces itself to the CF card... im almost there, also with the (what i think its the latest version of Barry....)

Larry-G
02-05-11, 14:42
@ comfysofa if you need i can get the second stage .ipk for version 83 directly from the DMM repository for you. see if that one works ?.

Comfysofa
02-05-11, 14:56
Thanks - ive got 83 and as i posted before - i think its on and working - just reflashing at the moment......anyway....more to the point - what is the second stage, what does it do and why, is it so hard to flash....

Comfysofa
02-05-11, 14:57
have i got the latest version of barry allen? (5.0.16) - if someones got a newer one can they tell me where it is....

Larry-G
02-05-11, 15:10
Thanks - ive got 83 and as i posted before - i think its on and working - just reflashing at the moment......anyway....more to the point - what is the second stage, what does it do and why, is it so hard to flash....

it is i believe like the bios of a pc. it boots first before the image even. not that ive ever had need to mess about with it on my DM7020 and DM600

Comfysofa
02-05-11, 15:15
Im there!! that only took 12 hours or so....

So - ill try to explain as much as i can just in case anyone stumbles across this....

1. Reflash with Gemini 4.70 (my preference)
2. Get hold of "dreambox-secondstage_83-r0a_dm7025.ipk"
3. Telnet in to box and then type "cd /"
4 Then "ipkg install /tmp/dream*.ipkg", if its worked you should get something like this....

dm7025 login: root
root@dm7025:~# cd /
root@dm7025:/# ipkg install /tmp/dreambox-secondstage_83-r0a_dm7025.ipk
Installing dreambox-secondstage (83-r0a) to root...
Configuring dreambox-secondstage
*** raw flash write tool. Don't have bad sectors or it won't work.
*** uncompressing... ok!
*** FLASH_GEOM: 02000000 00004000 00000200 00000010 00000005
*** CRC check ignored!
*** stage 0: ..00000000 | 00000008..00000014 (12 bytes)
*** stage 1: ..00040000 | 00000018..00021018 (135168 bytes)
*** stage 2: ..00000000 | 0002101c..0002101c (0 bytes)
*** stage 3: ..00000000 | 00021020..00021020 (0 bytes)
*** bad block list: none
*** writing.. ok!
*** done!

5. Restart box and if it went the way mine did youll get a blank DB display and no video. Reflash again and then it should start.
6. go through the startup wizard and then enable all usb modules, i briefly plugged in a usb stick which it then found.
7. Then to get barry allen on the medium i wanted - in my case a CF card i then powered off and only plugged in the CF card (removing the HD and USB stick)
8. Ran barry allen the same way as the second stage, and then, it found the CF card, formatted and installed.

Hope this helps anyone who finds it.....

Comfysofa
02-05-11, 15:19
This leads me to another question, which was an earlier post.....now ive got it running ive noticed that my image once running is that ive never been able to get the Terrestrial tuner working properly. In the tuner config i have a basic setting of europe, africa, some other euro country - DVB-T. Whereas i used to have an image once that let me specifiy a specific UK tranmitter....

Larry-G
02-05-11, 15:31
be aware however that if you mess up while flashing a second stage boot loader it can permanently kill the box.