Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/sd lubuntu"

(Created page with "=== How to set up booting from an SD Card (to prevent further mishaps) === Get a parameter file from http://dl.radxa.com/rock/images/ubuntu/ change root command entry of param...")
 
(How to set up booting from an SD Card (to prevent further mishaps))
Line 1: Line 1:
=== How to set up booting from an SD Card (to prevent further mishaps) ===
+
=== How to set up booting from an SD Card ===
 
Get a parameter file from http://dl.radxa.com/rock/images/ubuntu/
 
Get a parameter file from http://dl.radxa.com/rock/images/ubuntu/
 
change root command entry of parameter file to "root=/dev/mmcblk0p1"
 
change root command entry of parameter file to "root=/dev/mmcblk0p1"
Line 19: Line 19:
 
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)
 
</PRE>
 
</PRE>
 
  
 
=== Create Lubuntu SD Card ===
 
=== Create Lubuntu SD Card ===

Revision as of 22:10, 22 February 2014

How to set up booting from an SD Card

Get a parameter file from http://dl.radxa.com/rock/images/ubuntu/ change root command entry of parameter file to "root=/dev/mmcblk0p1" upload it with RKBatchTool from here. to the RADXA 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/ Create an ext4 partition on sd card you want to boot from

# TODO bash commands

Finally copy root-fs.img to sd card.

$ sudo dd if=mydir/rootfs-desktop.img of=/dev/mmcblk0p1
$ sync