atmel_df_pow2: standalone to convert dataflashes to pow2
PATCH 1/1 atmel_df_pow2: standalone to convert dataflashes to pow2
Atmel DataFlashes by default operate with pages that are slightly bigger than normal binary sizes (i.e. many are 1056 byte pages rather than 1024 bytes). However, they also have a "power of 2" mode where the pages show up with the normal binary size. The latter mode is required in order to boot with a Blackfin processor, so many people wish to convert their DataFlashes on their development systems to this mode. This standalone application does just that.
--- examples/standalone/.gitignore | 1 + examples/standalone/Makefile | 4 + examples/standalone/atmel_df_pow2.c | 209 +++++++++++++++++++++++++++++++++++ 3 files changed, 214 insertions(+), 0 deletions(-) create mode 100644 examples/standalone/atmel_df_pow2.c
examples/standalone/.gitignore +1 -0
@@ -1,4 +1,5 @@ /82559_eeprom +/atmel_df_pow2 /hello_world /interrupt /mem_to_mem_idma2intr
examples/standalone/Makefile +4 -0
@@ -86,6 +86,10 @@ ELF = hello_world SREC = hello_world.srec BIN = hello_world.bin +ELF += atmel_df_pow2 +SREC += atmel_df_pow2.srec +BIN += atmel_df_pow2.bin + ifeq ($(CPU),mpc8xx) ELF += test_burst SREC += test_burst.srec
examples/standalone/atmel_df_pow2.c new file +209 -0
209 lines not on this page · raw message
Signature · 1 line
1.6.3.3
PATCH 1/1 atmel_df_pow2: standalone to convert dataflashes to pow2
mmm didnt mean to send this one out. there's no difference with the previous version.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090723/ceba7051/attachment.pgp
Wolfgang Denk
AppliedPATCH 1/1 atmel_df_pow2: standalone to convert dataflashes to pow2
In reply to Mike FrysingerDear Mike Frysinger,
Quoted 8 lines · In message <[email protected]> you wrote:
Atmel DataFlashes by default operate with pages that are slightly bigger than normal binary sizes (i.e. many are 1056 byte pages rather than 1024 bytes). However, they also have a "power of 2" mode where the pages show up with the normal binary size. The latter mode is required in order to boot with a Blackfin processor, so many people wish to convert their DataFlashes on their development systems to this mode. This standalone application does just that.
Quoted 7 lines
Signed-off-by Mike Frysinger <[email protected]>--- examples/standalone/.gitignore | 1 + examples/standalone/Makefile | 4 + examples/standalone/atmel_df_pow2.c | 209 +++++++++++++++++++++++++++++++++++ 3 files changed, 214 insertions(+), 0 deletions(-) create mode 100644 examples/standalone/atmel_df_pow2.c
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "It is better for civilization to be going down the drain than to be coming up it." - Henry Allen