SAM9X5-CM: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
(Initial import)
 
(Add instructions to build at91bootstrap)
Line 1: Line 1:
{{#vardefine:HARDWARE_NAME|SAM9X5-CM}}
{{#vardefine:HARDWARE_NAME|SAM9X5-CM}}
{{#vardefine:CPU|AT91SAM9x5}}
{{#vardefine:CPU|AT91SAM9x5}}
{{#vardefine:BRANCH|at91bootstrap-ronetix-3.10.4}}
{{#vardefine:DEFCONFIG_NAME|sam9x5-cm_nf_uboot_defconfig}}
{{#vardefine:ARCH|arm}}
{{#vardefine:CROSS_COMPILE|/opt/cross/arm-ronetix-eabi-8.3.0/bin/arm-ronetix-eabi-}}


{{Summary_SAM9_A5 | {{#var:HARDWARE_NAME}} |
{{Summary SAM9 A5 | {{#var:HARDWARE_NAME}} |
{{#var:HARDWARE_NAME}} is a System-on-module (SoM) board in SODIMM204 format designed for embedded applications.
{{#var:HARDWARE_NAME}} is a System-on-module (SoM) board in SODIMM204 format designed for embedded applications.
<p>
<p>
Line 8: Line 12:
</p>
</p>
|SAM9-CM_top.png|
|SAM9-CM_top.png|
https://ronetix.at/product/sam9x5-cm-cpu-module-with-atmel-at91sam9x5-series
https://ronetix.at/product/sam9x5-cm-cpu-module-with-atmel-at91sam9x5-series|
}}
}}
= Building at91bootstrap - second level bootloader for {{#var:HARDWARE_NAME}} =
This bootloader is based on https://github.com/linux4sam/at91bootstrap, branch at91bootstrap-3.x
==== Setup the cross compiler and CPU architecture ====
$ export ARCH={{#var:ARCH}}
$ export CROSS_COMPILE={{#var:CROSS_COMPILE}}
==== Clone the latest revision of the repo ====
$ git clone https://github.com/ronetix/at91bootstrap.git -b {{#var:BRANCH}}
$ cd at91bootstrap
==== Configure and build ====
$ make {{#var:DEFCONFIG_NAME}}
$ make
= Build Results =
{| class="wikitable"
|-
! scope="col" | File Name
! scope="col" | Description
|-
| style="padding: 5px;"| binaries/at91bootstrap.bin
| style="padding: 5px;"| BIN image, should be programmed at address 0x0
|-
| style="padding: 5px;"| binaries/at91bootstrap.elf
| style="padding: 5px;"| ELF image used for JTAG debugging
|-
|}

Revision as of 17:37, 25 August 2022




SAM9X5-CM is a System-on-module (SoM) board in SODIMM204 format designed for embedded applications.

SAM9X5-CM is using the Microchip (ATMEL) AT91SAM9x5 CPU with an ARM926EJ CPU running at 400MHz

Product Info: https://ronetix.at/product/sam9x5-cm-cpu-module-with-atmel-at91sam9x5-series

Building at91bootstrap - second level bootloader for SAM9X5-CM

This bootloader is based on https://github.com/linux4sam/at91bootstrap, branch at91bootstrap-3.x

Setup the cross compiler and CPU architecture

$ export ARCH=arm
$ export CROSS_COMPILE=/opt/cross/arm-ronetix-eabi-8.3.0/bin/arm-ronetix-eabi-

Clone the latest revision of the repo

$ git clone https://github.com/ronetix/at91bootstrap.git -b at91bootstrap-ronetix-3.10.4
$ cd at91bootstrap

Configure and build

$ make sam9x5-cm_nf_uboot_defconfig
$ make

Build Results

File Name Description
binaries/at91bootstrap.bin BIN image, should be programmed at address 0x0
binaries/at91bootstrap.elf ELF image used for JTAG debugging