From: Michael 'M. L. <mi...@tm...> - 2005-06-25 13:58:20
|
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...> ------------------------------------------------------------------ |