The boot sequence changed some time ago. J3 is used to bypass the NAND preventing the ROM code to load at91bootstrap from that media.
Since the BCH update in March 2013 (see http://armbedded.eu/downloads/Stamp9G20), we do not consider the NAND to be the proper location for at91bootstrap. That is why we switched to the DataFlash which is equipped on all Stamp9G20 and NanosG20 boards since 2013. The DataFlash however uses a different chip select that has to be bypassed to prevent autoboot.
Stamp9G20
I close J3 during power-up as I used to do in past but cannot get into SAM-BA mode. What is wrong?
Last edited by mlanger on Thu, 12/10/2015 - 15:38The Stamp9G20 does not boot when using a backup battery but works normally without. What is happening?
Last edited by cglindkamp on Thu, 06/27/2013 - 14:46This can have two reasons, which both prevent the boot from DataFlash:
- If you just plugged in the Stamp and booted the system for the first time, this is most probably caused by some undefined value in the Reset Controller Mode register. To prevent this from happening remove the battery, switch on the system and than place the battery into the socket.
Small patch to fix boot problem when power is cut in U-Boot
Submitted by cglindkamp on Thu, 06/27/2013 - 14:37During the start of U-Boot, for a short time, the reset controller is reprogrammed. In the old version, when power cuts at this moment, the system is unable to boot from DataFlash. The new version fixes this by using temporary settings, that don't prevent the system to boot.
Patch and Images are included.
Stamp9G20_PortuxG20-u-boot-2013.01-reset-fix.tar.bz2 (177.14 KB)
What is the expected lifetime of the product?
Last edited by mlanger on Tue, 06/04/2013 - 10:28We will try to produce products as long as possible. This means, that there will be hardware revisions and changes of the used components if necessary. Of course, the most important factor for every product is the processor itself. Please find information about how long a certain processor is planned to be produced in the PDF attached below. In case of a processor hits its EOL, we try to offer a similar product with migration support for existing customers.
Upgrade package to add NAND 4-bit BCH ECC support to Stamp9G20 and PortuxG20
Submitted by cglindkamp on Thu, 03/14/2013 - 16:16Micron flashes used in Stamp9G20 and PortuxG20, for which this upgrade is highly recommended have the following FBGA codes written on them:
NQ279
NW193
What does "NAND read from offset a0000 failed -117" mean in U-Boot? The board still boots correctly.
Last edited by cglindkamp on Thu, 03/14/2013 - 16:19Error code -117 means there were bit flips in the read memory region, but the ECC algorithm could correct them. So the image is read correctly. A NAND page (typically 512 bytes) will become unreadable, if more bits flip than the ECC algorithm can handle, so depending on the situation it may make sense to rewrite the corresponding block. The standard images handle 1 bit error per NAND page, but a firmware handling 4 bit errors (or with small adjustments even more) is also available: http://www.armbedded.eu/node/675.
My board suddenly does not boot correctly or crashes.
Last edited by cglindkamp on Thu, 03/14/2013 - 16:20The boot stops displaying ROMBOOT or halts in U-Boot.
The kernel crashes randomly.
If your board runs a bootstrap prior version 3.4 (bootstrap 3.4 prints version information, older versions do not), the problem should be solved by updating.
The new images can be found here:
http://www.armbedded.eu/node/629
Update procedure:
1) launch SAM-BA and choose board according to:
http://www.armbedded.eu/node/8
2) run NANDFLASH "Enable NAND flash" script
3) run from SAM-BA console: NANDFLASH::EraseBlocks 0 0x1ffff
4) run "Send Bootfile" script with the appropriate image for your board
For even newer Stamps also consider the following download:
Updated AT91Bootstrap-3.4
Submitted by mlanger on Mon, 12/03/2012 - 11:22Fixes bit flips in NAND flash (ECC)
Fixes SDRAM initialisation for Stamp9G20 and PortuxG20 128 MB
Stamp9G20 and PortuxG20:
stamp9g20-nandflashboot-uboot-3.4-64mb.bin (9.26 KB)
stamp9g20-nandflashboot-uboot-3.4-128mb.bin (9.26 KB)
Stamp9G45:
stamp9g45-nandflashboot-linux-3.4-128mb.bin (9.88 KB)
stamp9g45-nandflashboot-linux-3.4-256mb.bin (9.88 KB)
stamp9g45-nandflashboot-linux-3.4-512mb.bin (9.89 KB)
Updated rootfs images using the Ångström Distribution 2011.03
Submitted by cglindkamp on Wed, 04/18/2012 - 23:00Angstrom-taskit-image-glibc-ipk-2011.03-stamp9g20evb.rootfs.tar.bz2 (15.19 MB)
Angstrom-taskit-image-glibc-ipk-2011.03-portuxg20.rootfs.tar.bz2 (15.27 MB)
Angstrom-taskit-image-glibc-ipk-2011.03-stamp9g20evb.rootfs.jffs2 (18.5 MB)
Angstrom-taskit-image-glibc-ipk-2011.03-portuxg20.rootfs.jffs2 (18.63 MB)
Opkg fails to download packages and package information. What is wrong?
Last edited by cglindkamp on Thu, 04/19/2012 - 15:09Since a while, running "opkg update" results in the following error messages:
Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/base/P... Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/debug/... Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/gstrea... Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc//all/Packages.gz Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/perl/P... Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/python... Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/machin... Collected errors: * Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/base/P.... error detail: HTTP response code said error * Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/debug/.... error detail: HTTP response code said error * Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/gstrea.... error detail: HTTP response code said error * Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc//all/Packages.gz. error detail: HTTP response code said error * Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/perl/P.... error detail: HTTP response code said error * Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/python.... error detail: HTTP response code said error * Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv5te/machin.... error detail: HTTP response code said error
The problem here is that the default rootfs of the Stamp9G20 and PortuxG20 was the Ångström Distribution 2008 for a long time but this version is discontinued so all packages have been removed from the servers. Since Apr 19, 2012, both products will be delivered with version 2011.03.
Possible Solutions:
- The best solution is to use the updated rootfs image provided in the download section which uses Ångström 2011.03. If you do not want to start from scratch, the other two options are also possible but are risky or inconvenient.
