SAMA5D27

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

SAMA5D27

Tue May 28, 2019 8:49 pm

Hi,

I am working on that board SAMA5D27 . But I have nothing to boot, I want to know following things :

1) From where I can get its nand flash image .
2) How I can port that image in nand flash .
3) Booting steps and hardware connection steps .

If anyone know about it please let me know . Thank you so much in advance !!
blue_z
Location: USA
Posts: 1971
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5D27

Wed May 29, 2019 12:40 am

Exactly what board are you referring to?
You need to download (and study) the User Guide (for whatever board that you have) as well as the SAM-BA 3.x utility from the Microchip site.
You can download demo builds from the Linux4SAM site.

Regards
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

Re: SAMA5D27

Wed May 29, 2019 3:52 pm

Hi ,

Thanks for reply I am working on atmel SAMA5D27 . I need to know the steps of flashing in nand memory . I am using linux ubuntu . I am studying and there have no steps on the web site how I can write in nand flash . Can you please help me .
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

Re: SAMA5D27

Wed May 29, 2019 4:04 pm

I am using ATSAMA5D27C-D1G-CU . Please let me know how I can make custom linux os for it and how I can port in its nand flash memory . My hosting machine is linux.
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

SAMA5D27

Wed May 29, 2019 9:21 pm

Hi experts ,

Can anyone suggest me for step by step guide SAMA5D27C-D1G-CU porting guide .

I have following host machine :

1) Ubuntu
2) samba flashing tool

I want to know about following things :
  • Where from I can get nand flash img for my board SAMA5D27C-D1G-CU and how I can customise it for fast booting
.
  • Step by step guide port img in nand flash using samba or any other interface
  • Which interface I can use for check booting and get console of my board
  • How I can make any c application for my board and run on it .


Please help me I have very urgency . Thanks in advance !!
blue_z
Location: USA
Posts: 1971
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5D27

Thu May 30, 2019 2:07 am

You were asked one simple question.
Your responses are only the name of a chip and not a board.
Responses to your requests that might be more specific than what is already given would require the name of a board.

Regards
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

Re: SAMA5D27

Thu May 30, 2019 3:41 pm

Hi ,

Sorry !! But that is a custom board I am using SAMA5B27-SOM1 . Please help me !!
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

Re: SAMA5D27

Thu May 30, 2019 9:37 pm

I write the img in nand flash and when I make reset command with samba it is boot up and green led starts blinking but I am unable to read the console .
process :
I connected my board with usb (board side micro point and pc side normal usb connector) . I am able to see ttyACM0 in dmesg . The light of board is constant red . Then I open minicom with following command :

sudo minicom -D /dev/ttyACM0

Now minicom is opened but I can see anything here I mean boot logs .

After that I trying to reset the board using samba reset command But its not working because I opened ttyACM0 in minicom . when I kill the minicom and then enter reset command it works and green led again blanking . I don't know what is happening .

Can Anyone help me please.
blue_z
Location: USA
Posts: 1971
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5D27

Thu May 30, 2019 11:59 pm

If you have a custom board, then there is no pre-built image to download and install to NAND or any other nonvolatile medium.
In theory you only need to customize AT91Bootstrap, U-Boot, and the DeviceTree blob while using the Linux kernel and rootfs from a Linux4SAM demo.
You would be better off first building a custom kernel with initramfs (or boot from SD card), and then you can un-tar a rootfs archive to the UBIFS in NAND.

There is no "step by step guide" for your custom board.
You will have to adapt Microchip/Atmel/Linux4SAM guides for similar boards to your situation.

Regards
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

Re: SAMA5D27

Fri May 31, 2019 2:56 pm

Hi blue_z ,

Thanks for reply .

I am doing as you said . But right now I want access serial console using minicom software in my linux machine but unable .

What I did ?

I give power to the board with usb , So when I connected usb with board and my linux machine there have comes a node in /dev/ttyACM0 . After dmesg there have usb information printed .

Then I connected serial port DB9 with board and my linux machine but now there is nothing happens I mean no new node is created and after dmesg there is no log for serial port connection .

After that I entered following command :
sudo minicom -D /dev/ttyACM0

But I did not get anything on my serial console . Can you please suggest me .

Thanks !!
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

Re: SAMA5D27

Fri May 31, 2019 5:10 pm

Hi ,

It is working now !!

Can we by-pass uboot and load kernel from bootstrap . Is there any guide available for that .

Thanks !!
sat123
Posts: 10
Joined: Tue May 28, 2019 8:33 pm

Re: SAMA5D27

Mon Jun 03, 2019 2:56 pm

Hi ,

Anyone here who can guide me for idle steps to minimize boot time of linux os for sama5d27 . Please let me know from where I can start ?

Thanks !!

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest