Difference between revisions of "Rock/sd lubuntu"
< Rock
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | = How to | + | {{rock_header}} |
+ | <div class="clearfix"></div> | ||
+ | == THIS PAGE IS OBSOLETE == | ||
+ | |||
+ | please refer new page: [[Rock/SD images]] | ||
+ | |||
+ | ---- | ||
+ | |||
+ | __TOC__ | ||
+ | |||
+ | == How to boot rootfs on an SD Card == | ||
* Get a parameter file from http://dl.radxa.com/rock/images/parameter/, make sure the root command entry of parameter file is '''root=/dev/mmcblk0p1''' | * Get a parameter file from http://dl.radxa.com/rock/images/parameter/, make sure the root command entry of parameter file is '''root=/dev/mmcblk0p1''' | ||
Line 21: | Line 31: | ||
CMDLINE:console=ttyFIQ0,115200 console=tty0 '''root=/dev/mmcblk0p1''' rw rootfstype=ext4 mac_addr=12:21:34:43:56:65 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot) | CMDLINE:console=ttyFIQ0,115200 console=tty0 '''root=/dev/mmcblk0p1''' rw rootfstype=ext4 mac_addr=12:21:34:43:56:65 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot) | ||
− | = Create Lubuntu SD Card = | + | == Create Lubuntu SD Card == |
* Get a rootfs-desktop.img file from http://dl.radxa.com/rock/images/ubuntu/partitions/ | * Get a rootfs-desktop.img file from http://dl.radxa.com/rock/images/ubuntu/partitions/ | ||
Line 30: | Line 40: | ||
$ sync | $ sync | ||
− | = Resize SD Card = | + | == Resize SD Card == |
<PRE> | <PRE> | ||
$ sudo resize2fs -p /dev/mmcblk0p1 | $ sudo resize2fs -p /dev/mmcblk0p1 | ||
</PRE> | </PRE> | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 05:26, 6 January 2015
THIS PAGE IS OBSOLETE
please refer new page: Rock/SD images
Contents
How to boot rootfs on an SD Card
- Get a parameter file from http://dl.radxa.com/rock/images/parameter/, make sure the root command entry of parameter file is root=/dev/mmcblk0p1
- It should now boot from SD Card
Example parameter file:
FIRMWARE_VER:4.2.2 MACHINE_MODEL:radxa_rock MACHINE_ID:007 MANUFACTURER:RADXA MAGIC: 0x5041524B ATAG: 0x60000800 MACHINE: 3066 CHECK_MASK: 0x80 KERNEL_IMG: 0x60408000 #RECOVER_KEY: 1,1,0,20,0 CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/mmcblk0p1 rw rootfstype=ext4 mac_addr=12:21:34:43:56:65 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot)
Create Lubuntu SD Card
- Get a rootfs-desktop.img file from http://dl.radxa.com/rock/images/ubuntu/partitions/
- Unzip it
- Finally copy rootfs image to sd card.
$ sudo dd if=mydir/rootfs-desktop.img of=/dev/mmcblk0p1 $ sync
Resize SD Card
$ sudo resize2fs -p /dev/mmcblk0p1