Firefly Open Source Community

Title: [SOLVED] Boot linux from USB [Print This Page]

Author: tlgimenes    Time: 12/29/2015 10:07
Title: [SOLVED] Boot linux from USB
Last edited by tlgimenes In 1/14/2016 06:58 Editor

Dear all,

I'm a recent buyer of a firefly rk3288 and I would like to boot my new board using a non supported linux distribution, more specifically, Arch Linux from a USB stick.

I've read on the wiki that it's possible to boot from USB stick using the "miniroot" environment, but, the thing is, that for configuring the miniroot environment, it's necessary a serial debug cable, something I don't have. Another thing that bothers me on the miniroot article on the wiki is the necessity of flashing the miniroot image into the board.

I was wondering if any of you guys made a miniroot image that doesn't need to be flashed into the firefly and/or that doesn't need a serial debug cable.

Thank you !
Author: tlgimenes    Time: 1/6/2016 20:27
Hello again !

Since there is no reply with booting from USB, does anyone know how the firefly team generated the Ubuntu SD boot image ?

Thanks !
Author: tlgimenes    Time: 1/8/2016 03:46
Last edited by tlgimenes In 1/8/2016 03:48 Editor

Hello again !

After hours on the firefly, radxa, androtab and other tons of websites I could gather all of the information necessary to create a SD bootable image using any root filesystem, in particular, the Arch Linux ARM one.

If there is anyone interested on how to create a SD bootable image or on the Arch Linux ARM SD bootable image, please comment bellow and I can write a detailed description on how I created the image and/or share the images that I created with you.

I created an Arch Linux ARM and an Ubuntu Server 14.04 SD bootable image. The Ubuntu one works well. The Arch Linux one needs still more work (mali GPU works fine but I wireless doesn't) and I will be glad to have your help !

Cheers ! \o/
Author: FesterBester38    Time: 1/8/2016 05:04
tlgimenes Posted at 1/8/2016 03:46
Hello again !

After hours on the firefly, radxa, androtab and other tons of websites I could gath ...

Oh please, share this info with us. Did you try to install the "standard" Firefly linux on your USB stick?

Thx,

Author: tlgimenes    Time: 1/14/2016 06:57
FesterBester38 Posted at 1/8/2016 05:04
Oh please, share this info with us. Did you try to install the "standard" Firefly linux on your US ...

Hello FesterBester38

I just wrote a tutorial on how I made it work. Basically I have the kernel on the sdcard and the ArchLinux root filesystem on the USB stick.
You can find more info here

Author: FesterBester38    Time: 1/15/2016 16:22
tlgimenes Posted at 1/14/2016 06:57
Hello FesterBester38

I just wrote a tutorial on how I made it work. Basically I have the kernel ...

Hi,

Is there a reason for the kernel to be located on an SD card instead than on the USB stick?

On my Firefly board the TF card connector is broken (the spring or whatever it is which keep in place the card is broken) so I cannot experiment anything as soon it needs the SD card.

Thx,
Author: FesterBester38    Time: 1/15/2016 16:22
tlgimenes Posted at 1/14/2016 06:57
Hello FesterBester38

I just wrote a tutorial on how I made it work. Basically I have the kernel ...

Hi,

Is there a reason for the kernel to be located on an SD card instead than on the USB stick?

On my Firefly board the TF card connector is broken (the spring or whatever it is which keep in place the card is broken) so I cannot experiment anything as soon it needs the SD card.

Thx,
Author: tlgimenes    Time: 1/19/2016 09:37
Last edited by tlgimenes In 1/19/2016 09:39 Editor
FesterBester38 Posted at 1/15/2016 16:22
Hi,

Is there a reason for the kernel to be located on an SD card instead than on the USB stick? ...

Hi,

I'm not sure if we can boot directly from the USB stick because I'm not sure if u-boot supports it. When I put the kernel on the SD card and use the USB stick for the root filesystem, I'm actually booting from SD card (which u-boot supports) and then just loading the filesystem from the USB after that the kernel is loaded (booted).

If you are willing to use your internal memory, I suggest you to use miniroot as described in here. The only problem with this method is that you need to have a debugging serial cable for setting up miniroot.

I don't recommend doing the same procedure as described in that post with the internal memory since you can brick your device. I suggest, however you to change your parameter file for loading from the USB instead the eMMC, something that will hardly brick your device and it's easy to recover.
Author: Arm78    Time: 7/28/2023 09:48
tlgimenes Posted at 1/14/2016 06:57
Hello FesterBester38

I just wrote a tutorial on how I made it work. Basically I have the kernel ...

hi tlgimenes,

could you send again the link tutorial to create boot from usb
Author: EvaHopkins    Time: 11/6/2025 15:01
The AAISM exam encompasses a wide range of critical topics, including insurance fundamentals, risk assessment, policy administration, claims processing, regulatory compliance, and customer relationship management. Navigating this comprehensive curriculum requires a focused and systematic study approach. TestsFile delivers precisely that with meticulously crafted practice tests that are comprehensively aligned with the official examination objectives. This structured approach ensures your preparation efforts remain concentrated on essential insurance concepts and practical applications, enabling you to build the robust knowledge base necessary for both examination success and professional insurance services management.

Master AI Security Management with TestsFile at >>>>>>> https://www.testsfile.com/AAISM-tests.html
Author: kengray218    Time: 1/9/2026 21:29
EchteFrage verspricht den Kunden, dass Sie die Salesforce Experience-Cloud-Consultant IT-Zertifizierungsprüfung 100% bestehen können. Die Qualität von EchteFrage wird nach den IT-Experten überprüft. Das wichtigste Merkmal unserer Produkte ist ihre Relevanz. Der Schulungskurs dauert nur 20 Stunden. Und Sie werden die Salesforce Experience-Cloud-Consultant Zertifizierungsprüfung dann mühlos bestehen. Wenn Sie EchteFrage wählen, werden Sie dann sicher nicht bereuen. Denn es wird Ihnen Erfolg bringen.
Author: benward175    Time: 1/14/2026 01:11
Egal wie attraktiv die Vorstellung ist, ist nicht so überzeugend wie Ihre eigene Empfindung. Die Demo der Pure Storage Portworx-Enterprise-Professional Software können Sie auf unsere Webseite ITZert einfach herunterladen. Unser erfahrenes Team bieten Ihnen die zuverlässigsten Unterlagen der Pure Storage Portworx-Enterprise-Professional. Wenn Sie noch Fragen über Pure Storage Portworx-Enterprise-Professional Prüfungsunterlagen haben, können Sie sich auf unsere Website online darüber konsultieren. Onlinedienst bieten wir ganztägig.
Author: ronbrow279    Time: 1/15/2026 04:47
親愛なる受験生の皆様、何かPeoplecertのDevOps-SRE試験のトレーニング授業に加入したいのですか。実は措置を取ったら一回で試験に合格することができます。TopexamのPeoplecertのDevOps-SRE試験のトレーニング資料はとても良い選択なんですよ。Topexamの仮想ネットワークトレーニングと授業は大量の問題集に含まれていますから、ぜひあなたが気楽に試験に合格することを約束します。
Author: raybell997    Time: 1/23/2026 21:30
Just had to hit like—this content is so good. Valid test CITM braindumps has fantastic content, and it’s free to access.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1