Firefly Open Source Community

Title: ready-to-go debian image [Print This Page]

Author: zeno    Time: 12/27/2014 07:33
Title: ready-to-go debian image

Hello all,


Is there any way or plan to download/prepare a debian distro for the firefly?


Is there anyone who can point me to docs where is explained how to do it?


Thanks a lot!


Zeno


Author: detour_vmx    Time: 12/27/2014 12:57

I second that.? I don't want Android, and I much prefer straight Debian over Ubuntu.






Author: zeno    Time: 12/27/2014 17:14

Hey mate,


I see in a previous post you self prepared the ubuntu rootfs.didn't you try to follow same steps to build a debian one?


Do you think you can have a try?


I still don't have the board to have a look and i am actually scared to buy one because i definitely don't like ubuntu as I will run it as a server


Cheers,

Zz


Author: Andy    Time: 12/30/2014 09:49
Someone have already run the Debian on Firefly.
Author: zeno    Time: 12/30/2014 15:27
Hi Andy,

I am sure that someone already did it. I ordered my board  yesterday and will run debian as well . In the meantime maybe you can tell us who prepared the installation so we can get in touch with her/him?

BTW when I will manage to have debian working I will share a .img file to have also other people enjoy the distro unless someone else will do it before me.

Cheeers.
Author: zhansb    Time: 12/30/2014 15:52
waiting debian img
Author: Andy    Time: 1/7/2015 10:50
I don't remember who, I just saw on a website before on occasionally. Maybe you can do it by yourself.
Author: zeno    Time: 1/10/2015 02:47

Hello all guys,


I am still trying to learn how to flash and create a complete img of Debian. In the meantime I prepared the .img for the Debian rootfs and I am sharing it with you guys.


You can download it from here:

https://mega.co.nz/#!BBEm2bxK


Please pay attention to the following:


1) this is ONLY the rootfs. It doesn't have the boot.img or the kernel.img. If you would like to use this debian rootfs you can do like I did: just use the current partitions and  replace the current rootfs with the debian one. To achieve this goal you can simply use one of the tools that allow you to flash partitions.

2) I am providing you the steps I followed to install the rootfs but keep in mind that I did it on a board with a previous single O.S. installed (Lubuntu); so if you have a dual boot it might be a little bit different. Moreover I will provide steps I followed on a Debian host using Linux Upgrade Tool.

    a) prepare a "parameter" text file based on the one that you are actually running (you can get your own file connecting and reading the board nand partitions with rkflashkit). The most important variable to change is the one that is reporting what will be the partition used for the rootfs. In my case, as I was running an image with only Ubuntu, I had to chage the variable to root=/dev/mmcblk0p5. If you like you can download my parameter file from here: https://mega.co.nz/#!QUknVChL.

    b) once you have your parameter file, flash it with following command:

           # upgrade_tool di -p parameter

    c) you are now ready to flash the rootfs. Uncompress the file downloaded from the link above and then issue the following command:

           # upgrade_tool di linuxroot debian_wheezy_ROOTFS_ffly.img

    d) reboot the board and wait for the login prompt to appear on the screen. Just login as root, password firefly and immediately run this command from the prompt:

           # resize2fs /dev/mmcblk0p5 (obviously this partition might be different if your parameter file is different).

You are now ready to enjoy Debian Wheezy!!


Please remember that this is a very basic system. It doesn't have any X Server and it is configured to work only via ethernet (not WiFi). After you configure the eth0 you can install all packets you need to have a fully working system.

Enjoy!


Author: zhansb    Time: 1/13/2015 11:31
try tryŁĄ
Author: detour_vmx    Time: 1/16/2015 16:08
The download site asks for a decryption key so I can't try your debian build.

Author: zeno    Time: 1/17/2015 18:38

Hello,


I am very sorry for that. Here are correct links:


Debian Rootfs:

https://mega.co.nz/#!BBEm2bxK!nVRn1Ldem ... 7OMJEyj2xM


Parameter:

https://mega.co.nz/#!QUknVChL!iQ7IpQZmC ... 4DuwglMv3w


After playing a while for the image I noticed that the loopback interface doesn't come up at first boot. So please be aware that you have to manually do it. Will fix this when I'll have time and unfortunately these weeks are really busy.


Author: f145h    Time: 1/24/2015 00:14
Title: Re: ready-to-go debian image
Very cool. Really waiting for such a thin server image. This system will work with the compiled custom kernel(with enabled UART as example)? I can build custom kernel for this rootfs?




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