UPDATE
I've flashed a patched bootloader and the proofofconcept OS too. I made a mistake earlier the OS must be named NKGZ.GZ
the patched bootloader natively features the things the bsquarebootloaderhack_final1.exe does for you. much more convenient when the patches are actually flashed. and with this patched bootloader, you can always resort to a RAM OS load
(I wonder if we could implement persistent storage, though maybe only cenet 4.2 supports it. but if we can, a RAM OS load ability is a must to be able to clear the registry etc with a non booting OS.
)
but anyway here are files and steps.
steps to update the bootloader
attention: do every step very carefully, this is a bootloader update!
1. download:
http://hpcmonex.net/bsq/SABOOT_patched_update.ZIP
2. download:
http://hpcmonex.net/bsq/bsquarebootloaderhack_final1.exe
3. copy bsquarebootloaderhack_final1.exe to your bsquare and run it. it should say everything got written OK - if not then please do not go further and contact me. you probably have a different bootloader version in that case and I'd need to see it.
(to develop patcher for it too
)
4. unzip SABOOT_patched_update.ZIP and copy it to your SD card.
5. I will assume that you have verified the SD card works properly, by successfully loading a RAM OS
(following steps on earlier page in this thread
)!!!! if you haven't, then please do so
(I'm paranoid because Bsquare
(the company
) made the 900c bootloader too and there was a buggy version.
)
6. ok, now, press and hold R+B while resetting until you see it starts to update flash. itshould finish quickly and then cold boots.
that's it
steps to flash an OS
this isn't really risky.
1. I will assume you have done the bootloader update above!! if you didn't yet then do so. if you don't want to update the bootloader
(which is fine
), then you will have to know how to set an SD card to be bootable in case the OS gets stuck while flashing and stops booting!! with the patched bootloader, you don't have to bother with setting a bootable partition and you can also do RAM OS load easily
(very good if you want to flash test roms, just RAM load them to test
).
2. download:
http://hpcmonex.net/bsq/gzip.exe
3. gzip can compress the OS image for you properly. I will assume the OS is named NK.BIN
(and is a MS BIN format already
) syntax in cmd: gzip nk.bin nk.gz
4. name it NKGZ.GZ then put it on SD card
5. press and hold R+O while resetting until you see it starts to update flash. it should then boot the new OS.
that's all i think
--------------
Quote
perazz - 2008-05-24 3:06 PM
I'm stuck in creating my own bsquare image ...
I've:
1
) dumped the rom of my phh
2
) cut the data in order to get NK.GZ
3
) unzip using gzip and got NK.bin
4
) run cvrtbin -r -a 94200000 -l 2b4aa38 -w 32 NK.bin
and got NK.nb0
5
) tried to run dumpromx to add some files... putting them in a folder called "infiles" and then running the command
dumpromx -a infiles NK.nb0
But it prints some error messages, like "cannot find the pointer for ofs 000000" and then is stopped by windows XP
("an error has occurred in dumpromx.exe"...
)
I think I've made something wrong ?
Or is it dumpromx that I've to call in a different way?
don't worry, this needs a bit of learning
please check out my rom tutorial
the ofs000000 is no problem
as for the folder...dumpromx doesn't like it if the same file name
(s
) already exist
(s
) in the image, so add those separately, not from a folder. the rest can be added from a folder
one thing... dont forget to use the ce3 cecompressv3.dll! just rename it to cecompressv4.dll
(cenet 4.1 uses ce3 compression.
)
anyway if that goes well you should try xipport...
its features are crucial for bsquare, we don't want to waste space with unused non deleted files in the OS, dumpromx can't do that
but I'm writing a new program that makes all this much easier
Edited by cmonex 2008-05-24 11:25 AM