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

Difference between revisions of "Rock/FreeBSD"

(How to boot FreeBSD)
(How to boot FreeBSD)
Line 14: Line 14:
  
 
https://wiki.freebsd.org/FreeBSD/arm/Radxa%20Rock
 
https://wiki.freebsd.org/FreeBSD/arm/Radxa%20Rock
 +
  
 
Ubuntu 13.10 amd64 rkflashtool build note:
 
Ubuntu 13.10 amd64 rkflashtool build note:
 +
 +
 
1. install libusb.h by sudo apt-get -y install libusb-1.0-0-dev
 
1. install libusb.h by sudo apt-get -y install libusb-1.0-0-dev
2. Use follow Makefile:
+
 
 +
2.  use dmesg or lsusb to check radxa rock is connect ok:
 +
 
 +
dmesg:
 +
<PRE>
 +
[187435.036508] usb 2-1.1.3: new high-speed USB device number 49 using ehci-pci
 +
[187435.141573] usb 2-1.1.3: New USB device found, idVendor=2207, idProduct=0006
 +
[187435.141586] usb 2-1.1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
 +
[187435.141592] usb 2-1.1.3: Product: radxa rock
 +
[187435.141598] usb 2-1.1.3: Manufacturer: radxa
 +
[187435.141603] usb 2-1.1.3: SerialNumber: 16EM84955F
 +
</PRE>
 +
 
 +
lsusb:
 +
 
 +
<PRE>
 +
Bus 002 Device 050: ID 2207:0006
 +
</PRE>
 +
 
 +
we got device ID 0x0006, and modify rkflashtool.c line 49 from  #define PID_RK3188          0x310b  to  #define PID_RK3188          0x0006
 +
 
 +
3. Use follow Makefile:
 
<PRE>
 
<PRE>
 
#
 
#

Revision as of 07:21, 8 January 2014


Status

Ganbold, a FreeBSD developer, now get FreeBSD booting on rockchip platform. Ganbold told us only basic stuffs, gpio, dwc usb host mode are working. But this is just a start :) If you are interested, ping ganbold at #radxa irc channel on freenode for more details.

How to boot FreeBSD

The instructions are at FreeBSD ARM wiki

https://wiki.freebsd.org/FreeBSD/arm/Radxa%20Rock


Ubuntu 13.10 amd64 rkflashtool build note:


1. install libusb.h by sudo apt-get -y install libusb-1.0-0-dev

2. use dmesg or lsusb to check radxa rock is connect ok:

dmesg:

[187435.036508] usb 2-1.1.3: new high-speed USB device number 49 using ehci-pci
[187435.141573] usb 2-1.1.3: New USB device found, idVendor=2207, idProduct=0006
[187435.141586] usb 2-1.1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[187435.141592] usb 2-1.1.3: Product: radxa rock
[187435.141598] usb 2-1.1.3: Manufacturer: radxa
[187435.141603] usb 2-1.1.3: SerialNumber: 16EM84955F

lsusb:

Bus 002 Device 050: ID 2207:0006

we got device ID 0x0006, and modify rkflashtool.c line 49 from #define PID_RK3188 0x310b to #define PID_RK3188 0x0006

3. Use follow Makefile:

#
all: rkflashtool

rkflashtool: rkflashtool.c
	gcc -o rkflashtool rkflashtool.c -I/usr/include/libusb-1.0/ -lusb-1.0 -O2 -W -Wall

clean:
	rm -f rkflashtool

param:
	sudo ./rkflashtool r 0x0000 0x2000 > /tmp/parm

#

Boot log

Boot log can be found here:

http://radxa.com/2013/10/18/freebsd-11-0-is-booting-on-radxa-rock/