warning: Creating default object from empty value in /homepages/38/d83367651/htdocs/armbedded.eu/drupal-6.38/modules/taxonomy/taxonomy.pages.inc on line 33.

Small patch to fix boot problem when power is cut in U-Boot

During 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?

We 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

Micron flashes used in Stamp9G20 and PortuxG20, for which this upgrade is highly recommended have the following FBGA codes written on them:

Stamp9G20_PortuxG20-BCH-upgrade.tar.bz2 (3.46 MB)

What does "NAND read from offset a0000 failed -117" mean in U-Boot? The board still boots correctly.

Error 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.

The 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:

Update procedure:
1) launch SAM-BA and choose board according to:
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:

Opkg fails to download packages and package information. What is wrong?

Since 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.

The rootfs on my newly created SD card does not boot

After creating a new SD card from the original images the system won't boot.
Following problems are common:

  • You get a kernel panic with "no init found" message.
  • Using apt-get upgrade or similar gives you error messages like this "fopen: permission denied".

Most probably you have messed up permissions of your rootfs during copying. Please follow this Howto:

PortuxG20 rev2 patch and binary.

For PortuxG20 u-boot sources
u-boot-portuxg20rev2.zip (90.83 KB)

Syndicate content