Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[SOLVED] Boot linux from USB

147

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
147

[SOLVED] Boot linux from USB

Posted at 12/29/2015 10:07:37      View:7617 | Replies:8        Print      Only Author   [Copy Link] 1#
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 !
Reply

Use props Report

147

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
147
Posted at 1/6/2016 20:27:39        Only Author  2#
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 !
Reply

Use props Report

147

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
147
Posted at 1/8/2016 03:46:58        Only Author  3#
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/
Reply

Use props Report

638

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
638
Posted at 1/8/2016 05:04:44        Only Author  4#
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,
Reply

Use props Report

147

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
147
Posted at 1/14/2016 06:57:08        Only Author  5#
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
Reply

Use props Report

638

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
638
Posted at 1/15/2016 16:22:09        Only Author  6#
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,
Reply

Use props Report

638

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
638
Posted at 1/15/2016 16:22:30        Only Author  7#
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,
Reply

Use props Report

147

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
147
Posted at 1/19/2016 09:37:02        Only Author  8#
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.
Reply

Use props Report

38

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
38
Posted at 7/28/2023 09:48:36        Only Author  9#
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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list