Zitat
Original von tmbinc
Hi,
1.) the secondstage sources are public, with the minor exception of some 7025 support code which license is *still* unclear (thanks, ati..). This however doesn't touch anything of the dreambox-specific code, so that code is all there.
2.) it's a normal mips (or powerpc) program, running on the dreambox.
It's extremely hard making it run under linux, and generally doesn't make soo much sense. If you compare the "mynandwrite.c", and the bootloader's flash routines, they are almost identical, except for all the http stuff.
3.) yes, sure. There is such a tool, but i need to fix lcd output there..
Alles anzeigen
Thanks a lot - so your code already stole from the standard bootloader
Which makes me feel a little more safe to use it - could you please compile and link it so that I have a binary for testing (hopefully it doesn't need any strange libraries, because I would need that it runs on any image)
BTW I yesterday played a little bit with the standard bootloader (by loggin in with telnet to get the menu interface after booting with pressed up button for flashing) - it allows for Flash to speficy alternatives for autoexec.bat, which would mean that with a little bit tweaking it could be used for multiboot too.
What about catching th down button on the front for choosing the image by pressing it 1,2.3 times then starting again from 0 (just display output of another LCD tick to show if it is 1,2,3) and then using autoexec.bat1-3 as default like my multiboot does on the Cf card
If you then press the up botton again (which originally halted the image) it should save and reboot with the changed autoexec.bat.
Would be an easy way of enabling multiboot without the need to write a 'real' bootloader with menus and TV output like the Flashwizzard does. (entering with telnet and manually type the new autoexec is already possible, so there is not much missing)