Moderator Control Panel ]

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

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

Postby Cjcr » Tue Jan 14, 2014 1:26 am

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.
Cjcr
 
Posts: 75
Joined: Sun Apr 18, 2010 10:22 pm

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

Postby diabloss » Tue Jan 14, 2014 3:15 am

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
diabloss
 
Posts: 147
Joined: Thu Nov 22, 2012 2:51 am

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

Postby Cjcr » Tue Jan 14, 2014 3:40 am

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.
Cjcr
 
Posts: 75
Joined: Sun Apr 18, 2010 10:22 pm

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

Postby diabloss » Tue Jan 14, 2014 4:04 am

yes ... but got stuck at one point and didn't had the time to go further.
diabloss
 
Posts: 147
Joined: Thu Nov 22, 2012 2:51 am

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

Postby Cjcr » Tue Jan 14, 2014 5:00 pm

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 :)
Cjcr
 
Posts: 75
Joined: Sun Apr 18, 2010 10:22 pm

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

Postby Cjcr » Tue Jan 14, 2014 6:10 pm

Image
I can't stop the boot sequence :evil:
I press all the keys are on my keyboard and nothing happends!
Cjcr
 
Posts: 75
Joined: Sun Apr 18, 2010 10:22 pm

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

Postby Cjcr » Wed Jan 15, 2014 7:22 pm

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?
Cjcr
 
Posts: 75
Joined: Sun Apr 18, 2010 10:22 pm

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

Postby DUDO » Fri Feb 21, 2014 3:38 am

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.
DUDO
 
Posts: 2
Joined: Thu Feb 20, 2014 10:19 am

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

Postby updatelee » Fri Feb 21, 2014 7:05 am

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
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

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

Postby DUDO » Fri Feb 21, 2014 10:24 am

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.
DUDO
 
Posts: 2
Joined: Thu Feb 20, 2014 10:19 am

Next

Return to General discussion

Who is online

Users browsing this forum: No registered users and 1 guest