Page 1 of 5

How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.13

PostPosted: Tue Jan 14, 2014 1:26 am
by Cjcr
Hi guys,

I'm trying to make it boot a system with Ubuntu 13.10, kernel 3.13 following these instructions http://eewiki.net/display/linuxonarm/i. ... rt+Devices

I'm able to create the SD card and I have one ready now with all (rootfs, kernel, uboot..), but It can't boot it, only the main system on the eMMC can boot (openpctv for now).

I need to do anything else to make it boot from SD?
That system should work with Matrix? At least is a similar board (SabreSD).

Any help is appreciated.

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Tue Jan 14, 2014 3:15 am
by diabloss
You will need an UART connection. At lest for me it worked with an cable which i had from an old cubieboard.


Serial Login
Debian
Edit: /etc/inittab
sudo nano /media/rootfs/etc/inittab
Add this at the end of: /etc/inittab
/etc/inittab
T0:23:respawn:/sbin/getty -L ttymxc0 115200 vt102
Ubuntu
Create new file: /etc/init/serial.conf
sudo nano /media/rootfs/etc/init/serial.conf
With this content:
/etc/init/serial.conf
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty 115200 ttymxc0
Remove microSD/SD card:
sync
sudo umount /media/boot
sudo umount /media/rootfs

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Tue Jan 14, 2014 3:40 am
by Cjcr
diabloss Wrote:You will need an UART connection. At lest for me it worked with an cable which i had from an old cubieboard.

Then you tried it with Matrix and it works (I refer to cable)? You connected the VCC too? or just gnd, rx, tx?

You tried that manual? you're able to boot ubuntu 13.10 and that kernel on Matrix?!

Thank you.

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Tue Jan 14, 2014 4:04 am
by diabloss
yes ... but got stuck at one point and didn't had the time to go further.

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Tue Jan 14, 2014 5:00 pm
by Cjcr
diabloss Wrote:yes ... but got stuck at one point and didn't had the time to go further.

I have an UART cable somewhere that might works with Matrix doing a bit of hack.

I only need to connect RX, TX and GND, right?

Would be great to have a latest kernel version in our Matrix :)

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Tue Jan 14, 2014 6:10 pm
by Cjcr
Image
I can't stop the boot sequence :evil:
I press all the keys are on my keyboard and nothing happends!

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Wed Jan 15, 2014 7:22 pm
by Cjcr
I finally I found a solution to my problem: I used a RS232 (com) cable (and not the usb version).
Now I can send commands to u-boot.

Well, now, what kind of commands I need to send to u-boot for boot from SD?

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Fri Feb 21, 2014 3:38 am
by DUDO
Hi! I am also interested in booting from the sd.
I do not understand why a mini-pc that is advertised as suport ubuntu, ubuntu has an image unusable for its many errors, and the U-boot is not configured to boot from the sd.
If I had wanted a closed system, just as xbmc, needed only a mini-pc android dvb-t2.
Please indicate the solution.

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Fri Feb 21, 2014 7:05 am
by updatelee
Its pretty easy to boot the SD. I can post a howto if you need it. Do you have a ubuntu that is tested working ? you'll need a ttl uart adapter for sure, you need to access that console todo so

UDL

Re: How to boot from MicroSD/SD slot (?) - Ubuntu 13.10/K3.1

PostPosted: Fri Feb 21, 2014 10:24 am
by DUDO
Hi updatelee! I really appreciate it.
The first thing I did was install ubuntu image, and check that it does not work all that much, when in this Soc, other brands already have graphics acceleration and fully functional operating system.
The hardware of this mini PC is best to its competitors in almost everything, except perhaps in the sink, but that is easily solved. And the price is significantly lower.
Foul let users easy to update, and to incorporate the operating system improvements that others have.