Em Qui, 2008-11-20 às 06:54 +0200, Ilya Petrov escreveu: > 2008/11/20 Daniel Ribeiro <[EMAIL PROTECTED]>: > > >> hmm, i`l try place it after blob for now. > > > > after blob(0xa0de0000+1MB) it will work better, but you will still be > > limited to a little over 16MB (memory ends at 0xa1ffffff). > > not at 0x2FFFFFF ? or it is another gen1 limitation?
No, and in fact, when the subject is the bootloader there are limitations on gen2; gen1 is easy, gen-blob is based on the opensource bootloader from a780, gen2 bootloader is closed-source. The memory layout on all ezx phones is the same, [EMAIL PROTECTED] plus [EMAIL PROTECTED] So, the first memory bank ends at 0xa1ffffff. Of course, you can still use the second bank, but it will be more trouble to change file_fat_read to use the second bank than to implement partial file read. > > Yeah, file_fat_read() would not work. But im sure that you can use > > file_fat_read as reference and implement some block_fat_read() function. > > maby i`l do so If you want to have a flasher on gen-blob im sure you will. ;) > > Like the idea from the other email. > > The proccess would be: > > 1. use boot_usb to load gen-blob. > > 2. gen-blob reads the kernel partition from flash and copy it to ram, > > just after gen-blob. > > 3. gen-blob flashes gen-blob+kernel back to kernel partition. > > we can just make genblob+kernel image on host and flash it Yeah, we can use host to flash too, no need to implement it on gen-blob. ;) > > I havent tested the code, but looking at the patch you sent i would say > > that the only showstopper is the 0xa0200000 buffer. > > ok, i`l simply change to RAMDISK_RAM_BASE ( 0xA0400000 ) As you pointed, KERNEL_RAM_BASE is not 0xa0200000, so it can be used. -- Daniel Ribeiro
