[oe-commits] Ulf Samuelsson : Update AT91SAM9G45 RomCode_Replacement to a working version...
git version control
git at git.openembedded.org
Wed Aug 19 10:21:14 UTC 2009
Module: openembedded.git
Branch: ulf/linux-2.6.30.2
Commit: dc81547f9e16a3edb0faa35a071a0448a8697986
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dc81547f9e16a3edb0faa35a071a0448a8697986
Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date: Wed Aug 19 12:17:52 2009 +0200
Update AT91SAM9G45 RomCode_Replacement to a working version...
---
.../AT91SAM9G45_RomCode_Replacement.bin | Bin 23676 -> 0 bytes
.../AT91SAM9G45_RomCode_Replacement.zip | Bin 14677 -> 0 bytes
.../AT91SAM9G45_RomCode_Replacement_13.bin | Bin 0 -> 25804 bytes
.../AT91SAM9G45_RomCode_Replacement_13.bin.zip | Bin 0 -> 14868 bytes
.../at91sam9g45ekes/README.TXT | 88 +++++++++++++++----
recipes/at91bootstrap/at91bootstrap_2.13-rc1.bb | 4 +-
6 files changed, 71 insertions(+), 21 deletions(-)
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.bin b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.bin
deleted file mode 100644
index 71b69be..0000000
Binary files a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.bin and /dev/null differ
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.zip b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.zip
deleted file mode 100644
index 929efbc..0000000
Binary files a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.zip and /dev/null differ
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin
new file mode 100755
index 0000000..b42bc3a
Binary files /dev/null and b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin differ
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin.zip b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin.zip
new file mode 100644
index 0000000..ae1fcab
Binary files /dev/null and b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin.zip differ
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/README.TXT b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/README.TXT
index f048838..9f44c21 100755
--- a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/README.TXT
+++ b/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/README.TXT
@@ -1,17 +1,78 @@
-AT91SAM9G45-ES ROM Code Replacement
+AT91SAM9G45EKES ROM Code Replacement
Procedure to install AT91SAM9G45-ES ROM code replacement:
-Prior to any operation, the user needs to install AT91-ISP.exe 1.13 and unzip
-AT91SAM9G45_RomCode_Replacement.zip file that contains a version of ROM binary code
-with USB issue fixed.
+Prior to any operation, the user needs to
+* install AT91-ISP.exe 1.13
+* unzip AT91SAM9G45_RomCode_Replacement_13.zip file
+ that contains a version of ROM binary code with USB issue fixed.
+
+Programming the ROMCode_Replacement into EEPROM
+===============================================
+Once done the following steps are necessary to store this version of ROM code in DataFlash.
+
+PREPARE THE BOARD
+1. unplug power supply
+2. unplug usb device cable
+3. remove jumper JP10 (NandFlash Chip Select) & JP12 (DataFlash Chip Select)
+4. plug-in power supply
+
+PROGRAM THE BOOTROM REPLACEMENT
+5. Close EEPROM chip select jumper
+5. launch SAM-BA (Choose right COM port and AT91SAM9G45-EKES)
+6. Choose EEPROM media tab in the SAM-BA GUI interface
+7. In the Scripts dropdown menu
+7.1 Choose the "Enable EEPROM AT24C512x" and press Execute to initialize the EEPROM
+7.2.1 Choose the "Send Foot File", press Execute
+7.2.2 Select AT91SAM9G45_RomCode_Replacement_13.bin binary file and press Open;
+ The media is written down to EEPROM
+8. Close SAM-BA
+
+On Reset, the faulty ROM code will copy the fixed ROM code into SRAM and launch it.
+The connection to the SAM-BA monitor over the USB interface will now work.
+
+PROGRAM USER CODE
+1. close jumper JP10 (NandFlash Chip Select) and/or JP12 (DataFlash® Chip Select)
+2. Start SAMBA as usual
+
+FURTHER USE
+As long as the NAND/DATA flash connectors are closed,
+the CPU will try to boot, first from the dataflash,
+and then from the dataflash.
+Before SAMBA is started, these connectors should be removed.
+If the EEPROM connector is closed, the USB interface will work.
+Otherwise it will not work.
+
+
+
+Programming the ROMCode_Replacement into Dataflash
+==================================================
Once done the following steps are necessary to store this version of ROM code in DataFlash.
1. unplug power supply
2. unplug usb device cable
3. remove jumper JP10 (NandFlash Chip Select) & JP12 (DataFlash Chip Select)
-4. plug serial cable
-5. lauch hyper terminal (115200 bauds, 8 bits, parity none, 1 stop bit, no flow control)
-6. plug-in power supply
+4. plug-in power supply
+5. close jumper JP12 (DataFlash® Chip Select)
+6. launch SAM-BA (Choose right COM port and AT91SAM9G45-EKES)
+7. choose DataFlash media tab in the SAM-BA GUI interface
+8. initialize DataFlash, choosing the Enable action in the Scripts rolling menu and press Execute
+9. choose Send boot file, press Execute
+10. select AT91SAM9G45_RomCode_Replacement.bin binary file and press Open; the media is written down
+11. close SAM-BA
+
+On Reset, the faulty ROM code will copy the fixed ROM code in SRAM and launch it. The connexion
+through USB to the SAM-BA monitor will work.
+Note: Boot from DataFlash media will no longer be available for other purpose.
+
+
+WORKAROUND if SAMBA does not connect when you try to apply RomCodeReplacement
+====================================
+1. unplug power supply
+2. unplug usb device cable
+3. remove jumper JP10 (NandFlash Chip Select) & JP12 (DataFlash Chip Select) & EEPROM Chip Select
+4. plug-in power supply
+5. plug serial cable
+6. launch hyper terminal (115200 bauds, 8 bits, parity none, 1 stop bit, no flow control)
7. type on hyper terminal : "Alt-0128 Alt-0128 #"
ALT-0128 is the '€' (Euro) sign for people lucky enough to
have a European Keyboard.
@@ -19,15 +80,4 @@ Once done the following steps are necessary to store this version of ROM code in
V#
8. AT91SAM9G45-EKES returns ">"
9. close hyper terminal
-10. close jumper JP12 (DataFlash® Chip Select)
-11. launch SAM-BA (Choose right COM port and AT91SAM9G45-EKES)
-12. choose DataFlash media tab in the SAM-BA GUI interface
-13. initialize DataFlash, choosing the Enable action in the Scripts rolling menu and press Execute
-14. choose Send boot file, press Execute
-15. select AT91SAM9G45_RomCode_Replacement.bin binary file and press Open; the media is written down
-16. close SAM-BA
-
-On Reset, the faulty ROM code will copy the fixed ROM code in SRAM and launch it. The connexion
-through USB to the SAM-BA monitor will work.
-Note: Boot from DataFlash media will no longer be available for other purpose.
-
+10. Start SAMBA using serial port
diff --git a/recipes/at91bootstrap/at91bootstrap_2.13-rc1.bb b/recipes/at91bootstrap/at91bootstrap_2.13-rc1.bb
index 9949f7c..eccd440 100644
--- a/recipes/at91bootstrap/at91bootstrap_2.13-rc1.bb
+++ b/recipes/at91bootstrap/at91bootstrap_2.13-rc1.bb
@@ -9,12 +9,12 @@ SRC_URI = "ftp://www.at91.com/pub/buildroot/${PN}-${PV}.tar.bz2 \
"
SRC_URI_append_at91sam9g45ekes = " \
- file://at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.zip \
+ file://at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.zip \
"
# at91sam9g45ek is not yet available, so add sam9g45ekes
SRC_URI_append_at91sam9g45ek = " \
- file://at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement.zip \
+ file://at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.zip \
"
# This is the way to add a custom defconfig
More information about the Openembedded-commits
mailing list