Doesn't sound hard. Take a flash dump. Change language. Flash dump. Duplicate changes.
He means you can manually compare flash dumps where only the language changed to figure out what has to change, then simply implement the flash writing part in your application.
I've looked into how the data is stored on the flash. It's not as simple as changing a few bits in the flash and updating it. A super simple copy-on-write filesystem is used to store system settings. I'm having trouble finding my notes, so there might be some mistakes since this is completely from memory.
Most data, like online settings and boot menu settings, are stored in the last partition of the flash. At the start of the partition, there is a header to identify that the flash is correctly formatted, followed by the actual data (and array of files), with a allocation bitmap at the end.
Each "file" consists of 32 bytes. The first two bytes are a little endian number that serves as a file name, and the last two bytes are a checksum, leaving 28 bytes of data in the middle. For things that need more than 28 bytes, like internet settings, the data is spread over multiple files, with contiguous file names. I think BIOS settings are stored in file 5 or 7. Unused files are all ones bits (FF in a hex dump). I'm not sure what checksum is used, it's probably one of the commonly used CRC-16 variants.
The allocation bitmap shows what files have been written. If it's a 1, the file is unused, if it's a 0 is has been used.
To read a file, you start at the last file, and search backwards for the file you want.
With flash, you can change one bits to zeroes on a write, but changing a zero bit to a one requires erasing everything and rewriting everything. Also, you can only preform an erase a limited number of times before the flash wears out an becomes unusable. This system allows you to update a file without needing a erase cycle every time. Just write to the next free file and clear the free bit in the allocation bitmap. If you run out of free files, you need to read everything in, erase the partition, and rewrite it with the current versions of the files, with correct header and bitmap. You should also verify that the data is successfully written to the flash, in case part of the flash starts going bad, and try rewriting it to the next free spot if it was corrupted.
One partition seems to record what games have been played on the system. It seems to mostly be for Japanese and online games. Codebreaker stores some code in flash.
Flash is the type of storage. He's not talking about flashing the chip. He's talking about write the data to the flash chip.
Flash chips
Eprom
Etc
He's quite throughly explained how it works, it's just that you do not understand it.
all info in KOS source code, flashrom.c and flashrom.h
What need:
1) create new func flashrom_get_block or modify, need get adress in flashrom adress space
2) rebuild KOS
3) rebuild dreamshell kernel
4) now you can write new APP or change app "Settings"
It's not possible to load a bios directly in Dreamshell?
For exemple load jc-bootROM-retail-v1.031.bin
you can load half bios on;y if you have GD-ROM
Hum no Dreamshell "No-Gdrom" ^^