Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

boot Ubuntu from sd card

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2

boot Ubuntu from sd card

Posted at 1/12/2015 17:37:30      View:12135 | Replies:10        Print      Only Author   [Copy Link] 1#
Dear friends , i had recently bought a firefly - rk3288 . i want to install a more complete version of linux ubuntu 14 in sd card for testing, than the one in the firefly wiki .
I tried to install using the tuturial from Ian MORRISON but there is an error at the end of the installation and was unable to create the image.
Can anyone provide me a .img file  fully functional for firefly  of ubuntu 14 for sd card and  or a place where i can get one ?
Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 1/14/2015 15:26:29        Only Author  2#

>?but there is an error at the end of the installation and was unable to create the image.




What are the command and error?
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/14/2015 15:37:41        Only Author  3#
Thanks for your reply.?the steps I took were these:




the files:knoppix@Microknoppix:/media/sda2/xxx$ ls
boot-linux.img linux-rfs.img rkcrc
create-android-sdcard mkkrnlimg rkunpack
create-linux-sdcard parameter-linux sdboot_rk3188.img
create-sdcard.7z README.txt sdboot_rk3288.img
downloadable-rfs-examples resource-linux.img split_bootimg_pl


kernel-linux.img RK3288Loader_uboot_V2.17.02.bin Tools




the commands:knoppix@Microknoppix:/media/sda2/xxx$./create-linux-sdcard
./create-linux-sdcard: Is your?SD card?loaded as '/dev/sdc' (y/n)? n
./create-linux-sdcard: Do you want to use a different device? y
./create-linux-sdcard: Enter new device name? /dev/sdb
./create-linux-sdcard: Is your?SD card?loaded as '/dev/sdb' (y/n)? y
./create-linux-sdcard: Unmounting partitions on '/dev/sdb' ... done.
./create-linux-sdcard: Formatting?SD card?'/dev/sdb' ... done.
./create-linux-sdcard: Flashing bootloader 'sdboot_rk3288.img' to '/dev/sdb' ... done.
./create-linux-sdcard: Updating partition table on '/dev/sdb' ... done.
./create-linux-sdcard: Calculating partition size for '/dev/sdb' ... done.
./create-linux-sdcard: Creating 'linux' partition as '/dev/sdb1' on /dev/sdb ...done.
./create-linux-sdcard: Making 'ext4' file system for 'linux' partition on '/dev/sdb1' ... done.
./create-linux-sdcard: Creating 'parameter-linux.img' from 'parameter-linux' ... ./create-linux-sdcard: line 116: /media/sda2/xxx/Tools/rkcrc: cannot execute binary file
done.

./create-linux-sdcard: Cannot create 'parameter-linux.img' ... exiting.



there is an error at line 116 of ?rkcrc bin file!


Can you help me? Is there any thing wrong in my steps?
Thanks
João Xavier
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/15/2015 15:43:19        Only Author  4#
I also try the comand:

su ./create-linux-sdcard




as superuser boot it gives the same error at line 116

Can any one help me or give me a link with a complete ubuntu 14.04 sd image for firefly (full functional!)




thanks
Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 1/16/2015 14:09:41        Only Author  5#

From the message, it seems that rkcrc is not able to execute.

Either it is corrupoted, or you'll need to "chmod 755 rkcrc" first.


Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/16/2015 16:05:53        Only Author  6#
yes I also checked had execute permissions as root but had no restrictions .I gave up that idea and installed a dual boot firmware version of Ugoos and I was glad for the linux version is very complete . And the android is also complet with google play and every thing.the only problem is that the internet interface and VGA do not work!Thanks a lot
Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 1/17/2015 10:29:25        Only Author  7#

Please try to run rkcrc. In my case, it should output something like this:




$ ./rkcrc
usage: ./rkcrc [-k|-p] infile outfile



If it is not the case, please paste the result. Maybe you're not installing some i386 libs??

You can compile it from the "rkflashtool" (search github) project.





Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/20/2015 20:59:07        Only Author  8#

I can confirm the tip from busybee.
I had the same problem but if you download rkflashtool from git and you build it via make (if libusb-1.o is missing just install it via:
  1. sudo apt-get install libusb-1.0-0-dev
Copy the code
You just copy the created files rkcrc and rkunpack to the Tools folder of the create-linux-sdcard-usb folder.
Everything works fine after.
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 1/24/2015 02:47:19        Only Author  9#

Re: boot Ubuntu from sd card

I have also succeeded booting Ubuntu from a 2G uSD card to USB-125G SSD.  I can remove the SD card and reinsert my 32G sd card and reboot my Firefly back into Android.  Loving the best of two worlds.  I can play with kernel images for both builds and also do the same for the the Linux systems RFs.  Loving it, found the perfect platform.  Ian Morrison's (Linuxium) sd card to usb scripting.
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/24/2015 05:04:22        Only Author  10#

Re: boot Ubuntu from sd card

I would also like to try but I have no computer with Linux , only have a live cd of knoppix but it don′t let me create the image, and so i can not test...Can anyone provide me a more complete image file of ubuntu 14 (than the one in firefly wiki) that works well in Firefly ? one that supports wifi, lan and vga ? A image file that is possible to create a bootable sd with Win32DiskImager in Windows .Thanks for your helpBest Regards
Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list