From: Albert R. <al...@ir...> - 2005-06-25 19:43:24
|
Ahh, I see. So bootloader replaces kernel parameters with its own, so I need to build a kernel with static definition of flash partitions. But what about bootloader itself? How to change its idea of flash partitions? Would just deleting and re-creating flash partitions of different sizes from boot> prompt work? In other words, is it only kernel parameters where flash partitions are hard-coded inside bootloader? Everything else is changable from boot> prompt? And how reliable this bootloader in regards of partition delition/ creation? Obviously, I want to avoid a possibility of briking my pad and working out jtag magic... -albertr Michael 'Mickey' Lauer writes: > Am Samstag, den 25.06.2005, 09:36 -0400 schrieb Albert Rybalkin: >> Hello, >> >> I'm using hh bootloader on my SL4 (the version compiled for >> 0.9.0-rc1 opensimpad build). It has the following partitions >> defined in flash: >> >> 0x00000000-0x00040000 : "bootldr" >> 0x00040000-0x01800000 : "root" >> 0x01800000-0x02000000 : "home" >> >> I would like to get rid of /home partition and make root partition >> occupy remaining space. I'm aware that I need to pass static partition >> definition to the kernel. But do I need to change anything in the >> bootloader? How does bootloader finds partitions in flash? Does it >> just scans all flash or it has some parameters which statically >> define partitions? Is it safe to assume that I can just drop >> to boot> prompt, delete root and home partitions, then create one >> large root partition, erase it and copy jffs2 image to it? > > In general, see linux/drivers/mtd/maps/sa1100.c > > bootldr passes in flash geometry parameters via kernel CMDline. You need > to build a new bootldr if you want to change its idea of the geometry on > that device or disable setting mtd params via cmdline in the kernel and > adapt sa1100.c to use a static mapping that pleases you. > > -- > Regards, > > Mickey. > ------------------------------------------------------------------ > Dipl.-Inf. Michael 'Mickey' Lauer <mi...@tm...> > ------------------------------------------------------------------ > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Simpad-general mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpad-general > |