Moderator Control Panel ]

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

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

Postby updatelee » Fri Mar 21, 2014 6:49 am

Worked, thanks. ethernet now works in 3.10.17

Havent patched u-boot yet.

UDL
Attachments
ar8035.patch.zip
(826 Bytes) Downloaded 321 times
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 NeuerUser » Fri Mar 21, 2014 3:49 pm

I would be greatful if someone could share his work, so that I can test it on my Matrix. I have a special MiniPCIe card, which I need to test, if it works correctly under kernel 3.10.17. I would be great, if I could test it at least once. It will certainly take a couple of weeks for me to learn how the whole u-boot and Yocto thing works...
NeuerUser
 
Posts: 21
Joined: Thu Mar 20, 2014 5:07 pm

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

Postby NeuerUser » Fri Mar 21, 2014 4:13 pm

Or, alternatively, could somebody give me some help with instructions?
  • I can download Yocto, but there are many git repositories. Do I need the official repository only? Or something from somewhere else?
  • Which layers do I need? I understand there are many layers to choose from, right? The BSP is one layer, or? Which BSP do I need? imx6qsabreSD?
  • What target would I need to bitbake? Is it just one target or do I need to bitbake more targets?
  • Do I need any special patches that are not automatically included?
  • How would I flash the new u-boot, if it works?

It's really not that I am asking for prebuilt binaries, because I am too lazy. It is really difficult to get into this stuff. I would really like to. That's why I am asking for some help.

Thanks!

Michael

Btw.: Is a great board! Would be nice to test debian-jessi on this board.
NeuerUser
 
Posts: 21
Joined: Thu Mar 20, 2014 5:07 pm

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

Postby updatelee » Fri Mar 21, 2014 11:00 pm

I can try and type something up when I get home.

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 NeuerUser » Sat Mar 22, 2014 3:20 am

Thanks, that would be great.
NeuerUser
 
Posts: 21
Joined: Thu Mar 20, 2014 5:07 pm

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

Postby updatelee » Sat Mar 22, 2014 8:54 am

mkdir yocto
cd yocto
curl http://commondatastorage.googleapis.com ... loads/repo > ./repo
./repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master-next
./repo sync
MACHINE=imx6qsabresd source ./setup-environment build
bitbake fsl-image-gui

once it's all done everything you need will be in tmp/deploy/images/imx6qsabresd/

if you make a change to u-boot and want to recompile it

bitbake -c compile u-boot
bitbake -c deploy u-boot

same for linux-imx

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 NeuerUser » Sat Mar 22, 2014 2:21 pm

Thanks, gonna try that today.

We also need the two patches Milan mentioned. Do you have a link to the 3.14 patch that needs to be backported?
NeuerUser
 
Posts: 21
Joined: Thu Mar 20, 2014 5:07 pm

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

Postby NeuerUser » Sat Mar 22, 2014 8:34 pm

Looked through the mainline kernel commits, but couldn't find any commit with ar8085 in the description. Where did you find the patch necessary for Ethernet?

Btw , why did you choose master-next as branch and not dora?

Currently compiling, halfway through...
NeuerUser
 
Posts: 21
Joined: Thu Mar 20, 2014 5:07 pm

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

Postby updatelee » Sun Mar 23, 2014 10:07 pm

The ar8035 patch I posted in this thread just a little higher up.

viewtopic.php?f=156&t=8786&start=20#p30846

Here is the u-boot patch, you only need this is you need ethernet in u-boot, ie tftp

UDL
Attachments
u-boot.patch.zip
(393 Bytes) Downloaded 241 times
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 NeuerUser » Sun Mar 23, 2014 11:19 pm

Thanks for the patches (sorry, overlooked the first one).

I finished compiling yocto yesterday (did the u-boot patch myself). I was able to load u-boot via recovery boot and then to boot the default tvmatrix on the mmc. So far, so good.

However, I was not able to get network in u-boot with the patch (maybe I did something wrong?). I also had only 1GB of RAM available. And, I had two times severe crashes in u-boot, when I changed some env variables and the used "printenv".

Is this just my fault? Does network work for you? Do you have 1GB or 2GB of RAM available?

Cheers

Michael
NeuerUser
 
Posts: 21
Joined: Thu Mar 20, 2014 5:07 pm

PreviousNext

Return to General discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron