[Arm-netbook] debian for mele a1000 / a2000

Henrik Nordström henrik at henriknordstrom.net
Wed May 30 12:16:31 BST 2012


ons 2012-05-30 klockan 09:46 +0100 skrev lkcl luke:

>  hmmm... could someone with debian and the "sfdisk" command please
> list the parameters and attach them to the wiki somewhere appropriate?
>  sfdisk is the programmer's fdisk and i believe its parameters are
> unambiguous.  there would therefore be no further confusion (one might
> hope).

fdisk is equally unambigious, just remember use the u command to switch
to sectors instead of the legacy "cylinders" view.

The only rules are

a) dont partition space below sector 2048. That area is reserved for
uboot.

b1) Default fallback boot is that first partition is FAT formatted and
have system.bin and uImage contents.

b2) Preferred boot method is to look for boot.scr in /boot or / on first
partition in extX or FAT format


If boot.scr is used then it contains the uboot commands needed for
loading kernel (+ initrd) and booting. The uboot shell is enabled so you
have rudimentary sh syntax capabilities.


As long as you stay within these boundaries then you are free to decide
how to partition. Possible layouts are for example

1) Single extX partition, sector 2048-end. boot.scr in /boot with the
uboot commands needed for booting.

2) extX partition + swap partition. boot.scr as above.

3) FAT boot partition, extX system partition, optional swap partition.
system.bin + uImage in FAT partition. No boot.scr.

4) Any other partition scheme you see fit for your purpose.

5) Reserving even more space and loading kernel from fixed blocks, and
use some filesystem not supported by uboot for all partitioned storage.

Regards
Henrik




More information about the arm-netbook mailing list