Title: Archlinux ARM for Firefly-rk3288 [Print This Page] Author: linjc Time: 1/31/2016 17:27 Title: Archlinux ARM for Firefly-rk3288 Last edited by linjc In 1/31/2016 17:42 Editor
I am so exciting when I see the post of Archlinux on Firefly-rk3288 from tlgimenes, It is cool!!
I search in internet about Archlinux and I found that Archlinux arm can run smooly in raspberrypi. So It may work well in Firefly-rk3288. I try to do it, and share my note here. I should say thanks to tlgimenes here, because his post help me a lot.
there is my note
1.flash the official firmware of ubuntu to the board
2.download the miniroot from here and flash linux-boot-miniroot.img to boot partition.
3.reboot the board and enter the miniroot mode
miniroot#
Copy the code
4.in official firmware, /dev/mmcblk0p5 is file system of ubuntu, so make it to ext4 and mount to /mnt
miniroot# mkfs.ext4 -E nodiscard /dev/mmcblk0p5
miniroot# mount /dev/mmcblk0p5 /mnt/
Copy the code
5.connect to ethernet and download the archlinux package, you can download it from their official web too.
miniroot# mount -o loop /media/linuxroot.img /tmp/
miniroot# cp -a /mnt/* /tmp/
miniroot# umount /tmp/
miniroot# umount /media/
miniroot# umount /mnt/
Copy the code
Now, the linuxroot.img is the file system of archlinux.
21.pack to a update.img
I change the AndroidTool, and you can copy the files include linuxroot.img,linux-boot.img,resource.img,misc_zero.img to the direction rockdev/Image/ then run the script mkupdate.bat, the update.img will create in rockdev/
22. if you want auto enter your archlinux and don not want enter miniroot, you can change these:
I just transplanted a basic archlinux file system, if you want to make a perfect system, you also need to install a lot of software, I hope you can share it with everyone, just like tlgimenes, thank you very much.
Author: zhansb Time: 1/31/2016 17:34
nice jobAuthor: totoy Time: 2/1/2016 06:41
Thanks you very much for your job Author: tlgimenes Time: 2/10/2016 02:22
Nice Job !!
Hope people will use these nice tips I just can't duplicate it here at home because I don't have a serial debugging cable, but if you do, I think this is a better solution than my previous one. By the ways, did you manage to make miniroot boot not only using the debug serial port but using the VGA port instead ?
I'm also still trying to figure out a way of using libhybris or any other way of having Mali accelerated openGL ES working on X/Wayland under Arch and writing a comprehensive tutorial on how to do it, like you just did with the Arch installation.
If anyone have already done it or have a hint on how doing it, please let me know
cheers \o/
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)