Page 1 of 2

Embedded Debian Linux bootable SD card for SAMA5D3 Xplained

Posted: Thu Apr 03, 2014 2:06 am
by bseljak
How to install Embedded Debian Linux on SAMA5D3 Xplained board - details:
http://wp.me/p4uY59-8

SD card image:http://sborut.wordpress.com/2014/04/08/ ... -xplained/

Borut Seljak

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Thu Apr 03, 2014 10:31 am
by nferre
This is brilliant: thanks for sharing!

Bye.

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Fri Apr 04, 2014 8:06 am
by orlandoken
Hello Borut,
I run into an error in Section 4. Build an Embedded Debian root filesystem:
I created multistrap.conf as you specify, but when I try to run sudo multistrap -f multistrap.conf, I get multistrap: command not found.

I am relatively new to Linux and especially Embedded Linux. Up to that point I cut & pasted everything and saw no other error messages.

I am using Mint 16 32-bit on my linux machine and Mint 16 64-bit in VMware Player on my Win7 Utimate machine.

Any guidance you can give me is certainly appreciated.

Thanks,
Ken

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Fri Apr 04, 2014 10:19 am
by bseljak
Try to install tools for build rootfs:

Code: Select all

sudo apt-get install multistrap
sudo apt-get install qemu
sudo apt-get install qemu-user-static
sudo apt-get install binfmt-support
sudo apt-get install dpkg-cross
Edit: I update this on my page!

Thanks! 

Borut

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Mon Apr 07, 2014 10:38 pm
by orlandoken
Hello Borut,
Thanks for the update.
It got me a little closer to my goal.
Now when I sudo multistrap -f multistrap.conf, I get:

E: Unable to locate package lighttpd
apt download failed. Exit value: 100

I installed lighttpd with apt-get and re-run sudo multistrap -f multistrap.conf, and get the same result.

I really appreciate your help,
Ken

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Tue Apr 08, 2014 12:15 am
by bseljak
HI!

I think that there is problem with sources. lihgttpd is part of debian and not emdebian. 

1 option: You could change php block to something like this: 

Code: Select all

[Php]
packages=php5-cgi lighttpd
source=http://ftp.debian.org/debian
suite=wheezy
2. Option:
Remove Complete [Php] block and Php from line debootstrap=...
On the target board to install web server run (as root):  
apt-get install lighttpd php-cgi 
 
Here are my multistrap.conf and fsupdate.sh file

Borut
 

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Tue Apr 08, 2014 3:07 pm
by bseljak
Hi!

I made a SD card image http://sborut.wordpress.com/2014/04/08/ ... -xplained/


To do / Known bugs:
- NAND flash support - (kernel problem if load without u-boot)

Borut Seljak

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Thu Apr 10, 2014 1:16 pm
by bseljak
Updated sd-card image:
http://sborut.wordpress.com/2014/04/08/ ... -xplained/

Fix: 
Updated kernel moules. 

After boot login to the Debian and run:
$sudo depmod -a
$sudo apt-get update 
$sudo apt-get upgrade


Borut Seljak 

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Thu Apr 24, 2014 1:11 pm
by bseljak
24. Apr. 2014 - Updated sd-card image:
http://sborut.wordpress.com/2014/04/08/ ... -xplained/

In the new sd card image: 
Fix: hosts
New: USB-CDC - Gadget Serial

Borut Seljak

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Thu May 15, 2014 5:16 pm
by Stan777
Hello Borut,
I’ve got just a question regarding the method of building the Linux.
You were using AT91Bootstrap, but would be possible to use U-Boot instead?
It looks like the link the to SD Card Image is broken. Couldyou please update the location?
Thanks,
Stan

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Thu May 15, 2014 5:32 pm
by nferre
Hi,
I’ve got just a question regarding the method of building the Linux.
You were using AT91Bootstrap, but would be possible to use U-Boot instead?
Yes, sure, I advice you to check what Robert done on his wiki page here:

http://eewiki.net/display/linuxonarm/AT ... der:U-Boot

He uses SPL mode of u-boot to avoid using AT91Bootstrap.

Best regards,

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Thu May 15, 2014 9:10 pm
by bseljak
Link to my blog with description and link to sd-card image:
http://sborut.wordpress.com/2014/04/08/ ... -xplained/
Direct link to dropbox:
https://www.dropbox.com/sh/uo7fwrnpji6a ... 5RPDROIYMa
Borut

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Wed Oct 08, 2014 1:38 am
by sjcchuma
Hi,
Image works and I am able to apt-get bluez-tools but when I scan for devices "hcitool scan", I get error below...

Can't open HCI socket.: Address family not supported by protocol

Pls help!

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Posted: Wed Oct 08, 2014 10:23 pm
by bseljak
Hi!
You must recompile kernel with drivers for your bluetooth device.

Borut 

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplained

Posted: Fri Mar 16, 2018 7:21 pm
by zdhovey2000
Any chance this exists for the SamA5D4? :shock: