Skip to content
evensonbryan edited this page Jun 17, 2013 · 2 revisions

Table of Contents

Overview

This details the status of this fork, which was created for the express purpose of adding at91sam9x5ek support to the meta-atmel layer. Status is broken down between the four major pieces: AT91Bootstrap, U-Boot, Linux kernel and the filesystem image.

The MACHINE_FEATURES has been updated to include a "watchdog" option. Adding this option in conf/machine/at91sam9x5ek.conf enables the watchdog in the AT91Bootstrap and U-Boot, and removing it disables the watchdog in both the AT91Bootstrap and U-Boot. By default, the Linux kernel enables watchdog usage; this could be extended to enable/disable the watchdog configuration in the kernel.

AT91Bootstrap

Currently builds the default AT91Bootstrap image successfully. AT91Bootstrap is setup to load from NAND flash and launch U-Boot and has been tested on a AT91SAM9G25-EK. Booting from other memory devices (SPI serial flash, SD card, TWI EEPROM) has not been tested. Booting directly to the Linux kernel has not been tested. Verified that the AT91Bootstrap can enable the watchdog.

U-Boot

Currently builds the default U-Boot image successfully. U-Boot is now configured to boot a device-tree enabled kernel, with the device tree residing at 0x180000. Verified U-Boot can boot with the device tree at 0x180000 and the kernel at 0x200000 on NAND flash. Have not tested other memory devices (SPI serial flash, SD card) or NFS booting. Verified that U-Boot can enable the watchdog.

Linux kernel

Currently builds the latest Linux kernel from the linux-3.6.9-at91 branch of http://github.com/linux4sam/linux-at91.git. The defconfig for the at91sam9x5ek family in this layer is a direct copy of the at91_dt_defconfig from the Linux kernel. Successfully runs on a AT91SAM9G25-EK. Verified that NAND flash, USB-A, USB-B, debug serial port (DBGU), Ethernet, RTC and USART0 and USART 3 are all operational. Have not verified SPI, I2C, SD cards, or CAN ports.

Filesystem

Currently tested with default core-image-minimal Poky image. Image successfully loads on a AT91SAM9G25-EK. Have tested peripherals as described earlier in the Linux kernel section.

Known issues

Watchdog

Attempting to write to the watchdog from the console produces this error message:

 watchdog watchdog0: watchdog did not stop!

Need more investigation to ensure watchdog is running and operating.

opkg

Appended features to core-image-minimal to add opkg support. Opkg is present on the filesystem, but a fresh image does not know what packages were installed.

Linux kernel device tree needs to be modified to include some missing peripherals and devices. Namely, USART3, USB-C, and the RTC. Still need to apply patches to include these in the system.

My AT91SAMG25-EK does not have an LCD, so it cannot be used to test the ISI interface or to test the atmel-qt4e-demo-image.

I do not have a SAMA5D3-based board, so I can only do build testing on the SAMA5D3.