Flashing the PortuxG20 - SAM-BA doesn't work

Hello,

I'm trying to implement a watchdog on a PortuxG20 Embedded Linux system (64MB). Creating a new uImage and writing it to the NAND went wrong, somehow the whole system got killed and doesn't want to boot anymore. So I tried using SAM-BA to flash the board, but no success so far - SAM-BA (v2.10) doesn't connect to the Portux. Moreover, it doesn't even connect to a healthy Portux (I got several of 'em). And the operating system isn't at fault either - it's neither working with Windows 7 nor Windows XP. Tried it on two different computers as well.

On Windows 7, it's always the same - I start SAM-BA, then I have to wait for at at least ONE minute until the window pops up, there I choose the COM-port the Portux is connected to, click on connect - and wait. And nothing happens. For minutes... or hours.
On Windows XP, it's similar with the samba_cdc.exe. With the samba.exe, I get a "Connection Error".

I did everything according to this tutorial: http://www.armbedded.eu/node/8 - I put the contents of the zip directory into the SAMBA folder and modified the boards.tcl. Then I enabled the J3 jumper on the board and started SAM-BA.

Re: Flashing the PortuxG20 - SAM-BA doesn't work

I found my mistake... tried to connect to the portux via the usb-to-serial connection. Using a standard USB-cable worked fine (but only under 32bit Windows).

So now there are more problems:

- The bootstrap which's delivered on the taskit DVD doesn't work. If I flash it and restart the Portux, it's dead in the water
- Using the bootstrap-wd (which's provided here: http://www.armbedded.eu/node/169 ) works fine
- Using the U-Boot-wd doesn't work either. The Portux freezes after "done, booting the kernel" and restarts when the WD isn't reset. If I disable the WD in U-Boot and then boot the Kernel, the system just freezes after "done, booting the kernel".
- Using the bootstrap-wd, the normal U-Boot provided on the taskit CD and a self-compiled, WD-enabled uImage works fine. Running the provided example WD-program works as well. Is there any drawback in using such a system?

Re: Flashing the PortuxG20 - SAM-BA doesn't work

- The bootstrap which's delivered on the taskit DVD doesn't work. If I flash it and restart the Portux, it's dead in the water
The problem here seems to be that you flashed it from within Linux or U-Boot. This image can only be flashed with the "Send bootfile" command from the SAM-BA tool because it slightly modifies the image before writing.

- Using the bootstrap-wd (which's provided here: http://www.armbedded.eu/node/169 ) works fine
This works because it is a direct dump from the flash after writing it with SAM-BA.

- Using the U-Boot-wd doesn't work either. The Portux freezes after "done, booting the kernel" and restarts when the WD isn't reset. If I disable the WD in U-Boot and then boot the Kernel, the system just freezes after "done, booting the kernel".
- Using the bootstrap-wd, the normal U-Boot provided on the taskit CD and a self-compiled, WD-enabled uImage works fine. Running the provided example WD-program works as well. Is there any drawback in using such a system?

The U-Boot image contained in the howto is made for the Stamp9G20 and therefore passes the Stamp9G20 machine id to the kernel and if the kernel is not compiled for the Stamp it does not know what to do and just hangs. But I think you don't have to use a different U-Boot for PortuxG20, because the default image already contains the watchdog reset logic. So I don;t see a problem in using the watchdog bootstrap and the default U-Boot..

Re: Flashing the PortuxG20 - SAM-BA doesn't work

Thanks, then I'll stick with the normal U-Boot.

Syndicate content