Embedded Debian Linux bootable SD card for SAMA5D3 Xplained

Moderator: nferre

bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Embedded Debian Linux bootable SD card for SAMA5D3 Xplained

Thu Apr 03, 2014 2:06 am

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
Last edited by bseljak on Thu Apr 10, 2014 10:40 am, edited 1 time in total.
nferre
Site Admin
Posts: 172
Joined: Wed Feb 14, 2007 11:17 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Thu Apr 03, 2014 10:31 am

This is brilliant: thanks for sharing!

Bye.
orlandoken
Posts: 2
Joined: Fri Apr 04, 2014 7:37 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Fri Apr 04, 2014 8:06 am

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
bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Fri Apr 04, 2014 10:19 am

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
orlandoken
Posts: 2
Joined: Fri Apr 04, 2014 7:37 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Mon Apr 07, 2014 10:38 pm

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
bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Tue Apr 08, 2014 12:15 am

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
 
bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Tue Apr 08, 2014 3:07 pm

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
bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Thu Apr 10, 2014 1:16 pm

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 
bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Thu Apr 24, 2014 1:11 pm

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
Stan777
Posts: 1
Joined: Thu May 15, 2014 5:09 pm

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Thu May 15, 2014 5:16 pm

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
nferre
Site Admin
Posts: 172
Joined: Wed Feb 14, 2007 11:17 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Thu May 15, 2014 5:32 pm

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,
bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Thu May 15, 2014 9:10 pm

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
sjcchuma
Posts: 17
Joined: Tue Oct 07, 2014 11:05 pm

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Wed Oct 08, 2014 1:38 am

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!
bseljak
Posts: 28
Joined: Thu Apr 03, 2014 1:28 am

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplai

Wed Oct 08, 2014 10:23 pm

Hi!
You must recompile kernel with drivers for your bluetooth device.

Borut 
zdhovey2000
Posts: 17
Joined: Fri Oct 13, 2017 9:52 pm

Re: Embedded Debian Linux bootable SD card for SAMA5D3 Xplained

Fri Mar 16, 2018 7:21 pm

Any chance this exists for the SamA5D4? :shock:

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 2 guests