Configure AT91Bootstrap - sama5d3xek

Assuming you are at the AT91Bootstrap root directory, you will find a board/sama5d3xek folder which contains several default configuration files:

sama5d3xekdf_linux_image_dt_defconfig
sama5d3xekdf_uboot_defconfig
sama5d3xeknf_android_image_dt_defconfig
sama5d3xeknf_linux_image_dt_defconfig
sama5d3xeknf_uboot_defconfig
sama5d3xeksd_android_image_dt_defconfig
sama5d3xeksd_linux_image_dt_defconfig
sama5d3xeksd_uboot_defconfig

TIP Tips: nf means to read nandflash, df means to read serial flash, sd means to read mmc card.
TIP Tips: linux means to load linux kernel to RAM, android means to load android kernel to RAM, uboot means to load u-boot to RAM, dt means to load dtb to RAM.

You can configure AT91Bootstrap to load U-Boot binary from NAND flash by doing:

$ make mrproper
$ make sama5d3xeknf_uboot_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Configure AT91Bootstrap - sama5d3_xplained

Assuming you are at the AT91Bootstrap root directory, you will find a board/sama5d3_xplained folder which contains several default configuration files:

sama5d3_xplainednf_linux_uimage_dt_defconfig
sama5d3_xplainednf_linux_zimage_dt_defconfig
sama5d3_xplainednf_uboot_defconfig
sama5d3_xplainedsd_linux_uimage_dt_defconfig
sama5d3_xplainedsd_linux_zimage_dt_defconfig
sama5d3_xplainedsd_uboot_defconfig

TIP Tips: nf means to read nandflash, df means to read serial flash, sd means to read mmc card.
TIP Tips: linux means to load linux kernel to RAM, android means to load android kernel to RAM, uboot means to load u-boot to RAM, dt means to load dtb to RAM.

You can configure AT91Bootstrap to load U-Boot binary from NAND flash by doing:

$ make mrproper
$ make sama5d3_xplainednf_uboot_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Configure AT91Bootstrap - sama5d4ek

Assuming you are at the AT91Bootstrap root directory, you will find a board/sama5d4ek folder which contains several default configuration files:

sama5d4ekdf_uboot_secure_defconfig
sama5d4eknf_uboot_secure_defconfig
sama5d4eksd_uboot_secure_defconfig

TIP Tips: nf means to read nandflash, df means to read serial flash, sd means to read mmc card.
TIP Tips: linux means to load linux kernel to RAM, android means to load android kernel to RAM, uboot means to load u-boot to RAM, dt means to load dtb to RAM.

You can configure AT91Bootstrap to load U-Boot binary from NAND flash by doing:

$ make mrproper
$ make sama5d4eknf_uboot_secure_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Configure AT91Bootstrap - at91sam9x5ek

Assuming you are at the AT91Bootstrap root directory, you will find a board/at91sam9x5ek folder which contains several default configuration files:

at91sam9x5eksd_uboot_defconfig
at91sam9x5ekdf_uboot_defconfig
at91sam9x5eknf_uboot_defconfig

TIP Tips: nf means to read nandflash, df means to read serial flash, sd means to read mmc card.
TIP Tips: linux means to load linux kernel to RAM, android means to load android kernel to RAM, uboot means to load u-boot to RAM, dt means to load dtb to RAM.

You can configure AT91Bootstrap to load U-Boot binary from NAND flash by doing:

$ make mrproper
$ make at91sam9x5eknf_uboot_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Configure AT91Bootstrap - sama5d4_xplained

Assuming you are at the AT91Bootstrap root directory, you will find a board/sama5d4_xplained folder which contains several default configuration files:

sama5d4_xplainednf_uboot_secure_defconfig
sama5d4_xplainedsd_uboot_secure_defconfig

TIP Tips: nf means to read nandflash, df means to read serial flash, sd means to read mmc card.
TIP Tips: uboot means to load u-boot to RAM, secure means to enter into secure mode, every peripherals are accessible.

You can configure AT91Bootstrap to load U-Boot binary from NAND flash by doing:

$ make mrproper
$ make sama5d4_xplainednf_uboot_secure_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Configure AT91Bootstrap - sama5d2_xplained

Assuming you are at the AT91Bootstrap root directory, you will find a board/sama5d2_xplained folder which contains several default configuration files:

sama5d2_xplaineddf_uboot_defconfig
sama5d2_xplainedsd_uboot_defconfig

TIP Tips: nf means to read nandflash, df means to read serial flash, sd means to read mmc card.

You can configure AT91Bootstrap to load U-Boot binary from SPI flash by doing:

$ make mrproper
$ make sama5d2_xplaineddf_uboot_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Configure AT91Bootstrap - sama5d27_som1_ek

Assuming you are at the AT91Bootstrap root directory, you will find a board/sama5d27_som1_ek folder which contains several default configuration files:

sama5d27_som1_ekqspi_uboot_defconfig
sama5d27_som1_eksd_uboot_defconfig

TIP Tips: qspi means to read quad-SPI serial flash, sd means to read mmc card.

You can configure AT91Bootstrap to load U-Boot binary from SD Card by doing:

$ make mrproper
$ make sama5d27_som1_eksd_uboot_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Configure AT91Bootstrap - sama5d2_ptc_ek

Assuming you are at the AT91Bootstrap root directory, you will find a board/sama5d2_ptc_ek folder which contains several default configuration files:

sama5d2_ptc_eknf_uboot_defconfig
sama5d2_ptc_eksd_uboot_defconfig

TIP Tips: nf means to read nandflash, sd means to read mmc card.

You can configure AT91Bootstrap to load U-Boot binary from SD Card by doing:

$ make mrproper
$ make sama5d2_ptc_eksd_uboot_defconfig
If the configuring process is successful, the .config file can be found at AT91Bootstrap root directory.

Pre-built Demo - sama5d3xek

Board Description Binary
sama5d3xek AT91Bootstrap binary as the 2nd level bootloader to download U-Boot image from NandFlash sama5d3xek-nandflashboot-uboot-3.6.0.bin

Pre-built Demo - sama5d3_xplained

Board Description Binary
sama5d3 Xplained AT91Bootstrap binary as the 2nd level bootloader to download U-Boot image from NandFlash sama5d3x_xplained-nandflashboot-uboot-3.6.1.bin

Pre-built Demo - sama5d4ek

Board Description Binary
sama5d4ek AT91Bootstrap binary as the 2nd level bootloader to download U-Boot image from NandFlash
compiled from tag: v3.7
sama5d4ek-nandflashboot-uboot-3.7.bin

Pre-built Demo - sama5d4_xplained

Board Description Binary
sama5d4_Xplained AT91Bootstrap binary as the 2nd level bootloader to download U-Boot image from NandFlash
compiled from tag: v3.7.1
sama5d4_xplained-nandflashboot-uboot-3.7.1.bin

This section describes how to get source code from the git repository, how to configure with the default configuration, how to customize AT91Bootstrap based on the default configuration and finally to build AT91Bootstrap to produce the binary. take the default configuration to download U-Boot from NandFlash for example.

Get AT91Bootstrap Source Code

You can easily download AT91Bootstrap source code on the at91bootstrap git repository.

To get the source code, you should clone the repository by doing:

$ git clone git://github.com/linux4sam/at91bootstrap.git
Cloning into 'at91bootstrap'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 10880 (delta 20), reused 39 (delta 19), pack-reused 10829
Receiving objects: 100% (10880/10880), 4.03 MiB | 395.00 KiB/s, done.
Resolving deltas: 100% (8300/8300), done.
$ cd at91bootstrap/

Configure AT91Bootstrap

Customize AT91Bootstrap

If the default configuration doesn't meet your need, after configuring with the default configuration, you can customize it by doing:
$ make menuconfig
Now, in the menuconfig dialog, you can easily add or remove some features to/from AT91Bootstrap as the same way as kernel configuration.

Build AT91Bootstrap

Then you can build the AT91Bootstrap binary by doing:
$ make

If the building process is successful, the final .bin image is binaries/at91bootstrap.bin.

r9 - 11 Oct 2018 - 14:31:08 - RazvanStefanescu
 
Linux & Open Source related information for AT91 Smart ARM Microcontrollers

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Atmel® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. This site is powered by the TWiki collaboration platform

ARM® and others are registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.

Ideas, requests, contributions ? Connect to LinksToCommunities page.

Syndicate this siteRSS ATOM