Nov 17 2008, 04:57 AM
Post
#1
|
|
|
Group: Validating Posts: 8 Joined: 11-November 08 From: Germany Member No.: 23,746 |
Hi everybody!
I have a Simpad SL4 and I installed the Ångström Distribution with opie on it. I want to install more software like a webbrowser, but there is not much space left on the flash memory. I found on opensimpad.org that it is possible to upgrade the flash. Is there anybody who has upgraded the simpad to 64 MB flash? Does it work? Where can I get a compatible flash chip for my simpad to upgrade it? burn |
|
|
|
![]() |
Sep 21 2009, 11:24 PM
Post
#2
|
|
|
Group: Validating Posts: 8 Joined: 11-November 08 From: Germany Member No.: 23,746 |
Hey mr_nice,
with urjtag the command "detectflash" needs a parameter. I can use detectflash 0 and detectflash 1. Only 0 and 1 work, some other numbers gives an errors, so I think the output is for the first and for the second flash chip CODE jtag> detectflash 0 Query identification string: Primary Algorithm Command Set and Control Interface ID Code: 0x0001 (Intel/Sharp Extended Command Set) Alternate Algorithm Command Set and Control Interface ID Code: 0x0000 (null) Query system interface information: Vcc Logic Supply Minimum Write/Erase or Write voltage: 2700 mV Vcc Logic Supply Maximum Write/Erase or Write voltage: 3600 mV Vpp [Programming] Supply Minimum Write/Erase voltage: 0 mV Vpp [Programming] Supply Maximum Write/Erase voltage: 0 mV Typical timeout per single byte/word program: 64 us Typical timeout for maximum-size multi-byte program: 128 us Typical timeout per individual block erase: 1024 ms Typical timeout for full chip erase: 0 ms Maximum timeout for byte/word program: 256 us Maximum timeout for multi-byte program: 1024 us Maximum timeout per individual block erase: 4096 ms Maximum timeout for chip erase: 0 ms Device geometry definition: Device Size: 33554432 B (32768 KiB, 32 MiB) Flash Device Interface Code description: 0x0002 (x8/x16) Maximum number of bytes in multi-byte program: 32 Number of Erase Block Regions within device: 1 Erase Block Region Information: Region 0: Erase Block Size: 131072 B (128 KiB) Number of Erase Blocks: 256 jtag> detectflash 1 Query identification string: Primary Algorithm Command Set and Control Interface ID Code: 0x0001 (Intel/Sharp Extended Command Set) Alternate Algorithm Command Set and Control Interface ID Code: 0x0000 (null) Query system interface information: Vcc Logic Supply Minimum Write/Erase or Write voltage: 2700 mV Vcc Logic Supply Maximum Write/Erase or Write voltage: 3600 mV Vpp [Programming] Supply Minimum Write/Erase voltage: 0 mV Vpp [Programming] Supply Maximum Write/Erase voltage: 0 mV Typical timeout per single byte/word program: 64 us Typical timeout for maximum-size multi-byte program: 128 us Typical timeout per individual block erase: 1024 ms Typical timeout for full chip erase: 0 ms Maximum timeout for byte/word program: 256 us Maximum timeout for multi-byte program: 1024 us Maximum timeout per individual block erase: 4096 ms Maximum timeout for chip erase: 0 ms Device geometry definition: Device Size: 33554432 B (32768 KiB, 32 MiB) Flash Device Interface Code description: 0x0002 (x8/x16) Maximum number of bytes in multi-byte program: 32 Number of Erase Block Regions within device: 1 Erase Block Region Information: Region 0: Erase Block Size: 131072 B (128 KiB) Number of Erase Blocks: 256 I flashed the Test_bootldr.img with urjtag. CODE jtag> flashmem 0 Test_bootldr.img Manufacturer: Intel Chip: 28F256J3A program: block 0 unlocked erasing block 0: 0 addr: 0x0001F000 block 1 unlocked erasing block 1: 0 addr: 0x0003FFFE verify: addr: 0x0003FFFE Done. Urjtag knows the Chip! "28F256J3A" The other jtag tool only said "Chip: Unknown (0x1D)!" After flashing the bootloader there is this output on the serial console: CODE U3 @00000348 F04000000 *MTST 00000001 00000002 00000004 00000008 00000010 00000020 00000040 00000080 00000100 00000200 00000400 00000800 00001000 00002000 00004000 00008000 00010000 00020000 00040000 00080000 00100000 00200000 00400000 00800000 01000000 02000000 04000000 08000000 10000000 20000000 40000000 80000000 MBK2 00000001 0000E59F 00000002 0000E59F 00000004 0000E59F 00000008 0000E59F 00000010 0000E59F 00000020 0000E59F 00000040 0000E59F 00000080 0000E59F 00000100 0000E59F 00000200 0000E59F 00000400 0000E59F 00000800 0000E59F 00001000 0000E59F 00002000 0000E59F 00004000 0000E59F 00008000 0000E59F 00010000 0001E59F 00020000 0002E59F 00040000 0004E59F 00080000 0008E59F 00100000 0010E59F 00200000 0020E59F 00400000 0040E59F 00800000 0080E59F 01000000 0100E59F 02000000 0200E59F 04000000 0400E59F 08000000 0800E59F 10000000 1000E59F 20000000 2000E59F 40000000 4000E59F 80000000 8000E59F ENDM STKP C19F3FF0 sett▒▒g flashword=50000000 Flash style = 1x16 verify flash size... btflash_init: mfrid=00000089 devid=0000001D mfrid=00000089 deviceid=0000001D walking flash descriptors (1x16) btflash_init: FAILED! Unknown flasj type! Read back MQ200 ID is 0x4BE00C02 Correct Device ID should be 0x02004D51. - retrying Rebooting... After that the simpad restarts again and again, everytime with the same output on the serial console. Any ideas what I have to do? regards, burn |
|
|
|
Oct 2 2009, 02:10 AM
Post
#3
|
|
|
Group: Members Posts: 156 Joined: 21-September 05 Member No.: 8,161 |
hm, the good news is you can flash the flash now. the bad news bootldr cannot handle it :/
i don't know what is the latest version of bootldr for the simpad I once saved this one [1] Slims and I tried to port uboot [2] [5] and redboot (Slims alone) [3] [4] to the simpad but both are not stable but maybe easier to patch for you. For all 3 you will need to write a patch for the flash. uboot is the most common on other devices nowerdays. best regards nice 1 http://linuxtogo.org/~mr_nice/simpad/saved.stuff/Bootloader/ 2 http://opensimpad.org/index.php/U-boot 3 http://opensimpad.org/index.php/RedBoot 4 http://git.linuxtogo.org/?p=mr_nice/redboot/.git;a=summary 5 http://git.linuxtogo.org/?p=mr_nice/u-boot/.git;a=summary |
|
|
|
Feb 10 2010, 06:36 AM
Post
#4
|
|
|
Group: Validating Posts: 8 Joined: 11-November 08 From: Germany Member No.: 23,746 |
Status report: after some problems installing a cross compiler to build a new uboot bootloader, I did some compiling tests. But at this time my selfmade bootloader doesn't work.
After pressing the power button on the simpad, the background-light of the display shortly lights up, but there is no output on the serial console. I don't give up! |
|
|
|
Feb 10 2010, 05:11 PM
Post
#5
|
|
|
Group: Members Posts: 156 Joined: 21-September 05 Member No.: 8,161 |
hi,
In theory you should only need to replace [1] those lines (simpad.h). CODE #define PHYS_FLASH_SIZE 0x02000000 /* 32 MB */ #define PHYS_FLASH_BANK_SIZE 0x01000000 /* 16 MB Banks */ #define PHYS_FLASH_SECT_SIZE 0x00020000 /* 128 KB sectors */ here [2] is a short description about how I build the loader a year ago happy hacking nice 1 http://git.linuxtogo.org/?p=mr_nice/u-boot...db2801abc8#l148 2 http://begu.org/?p=36 |
|
|
|
Apr 2 2010, 10:29 AM
Post
#6
|
|
|
Group: Members Posts: 6 Joined: 25-November 05 Member No.: 8,608 |
hi, In theory you should only need to replace [1] those lines (simpad.h). CODE #define PHYS_FLASH_SIZE 0x02000000 /* 32 MB */ #define PHYS_FLASH_BANK_SIZE 0x01000000 /* 16 MB Banks */ #define PHYS_FLASH_SECT_SIZE 0x00020000 /* 128 KB sectors */ here [2] is a short description about how I build the loader a year ago happy hacking nice 1 http://git.linuxtogo.org/?p=mr_nice/u-boot...db2801abc8#l148 2 http://begu.org/?p=36 I updated the U-Boot loader. This should autodetect FLASH and RAM size. Current GIT is on: http://git.bocc.de/cgi-bin/gitweb.cgi?p=u-...fs/heads/simpad A precompiled binary is at http://www.bocc.de/u-boot.bin Thanks, Jochen |
|
|
|
Apr 19 2010, 01:49 AM
Post
#7
|
|
|
Group: Members Posts: 156 Joined: 21-September 05 Member No.: 8,161 |
Thanks for the update
Do you have a simpad with the a flash mod? I hope I find some time to test the loader (currently uni is eating all my time If you like to further hack at the uboot front - adding some wake up code would be awesome! |
|
|
|
Aug 5 2011, 11:04 AM
Post
#8
|
|
|
Group: Members Posts: 6 Joined: 25-November 05 Member No.: 8,608 |
Thanks for the update Do you have a simpad with the a flash mod? I hope I find some time to test the loader (currently uni is eating all my time If you like to further hack at the uboot front - adding some wake up code would be awesome! Finally, I had some time hacking on this again. Suspend/Resume is functional right now. Thanks, Jochen |
|
|
|
burn79 Upgrade Flash Memory Nov 17 2008, 04:57 AM
mr_nice Hi, did you try out to remove your home parition [... Nov 18 2008, 01:03 PM
burn79 I wrote a mail to memphis.ag and from there I got ... Nov 27 2008, 12:32 PM
Martin Hi Burn
did you ever remove some smd chips? I hav... Dec 4 2008, 01:51 AM
burn79 Update:
Conrad could not make me an offer for the ... Dec 10 2008, 02:13 AM
Martin Hi Burn,
good luck ...
it will be nice to have ... Dec 10 2008, 02:27 AM
burn79 Hey everybody,
I did it!!
This weekend... Aug 23 2009, 01:00 PM
burn79 Hey,
I think I was a little confused. I would upg... Aug 24 2009, 11:37 AM
mr_nice Hi, you can flash this [1] hh.org bootldr. You are... Sep 6 2009, 12:29 PM
jochen QUOTE(mr_nice @ Apr 19 2010, 10:49 AM) Th... Apr 27 2010, 12:17 PM

mr_nice nice you did a kernel update
I realy hope to be a... Apr 29 2010, 08:13 AM
Berend Exciting stuff! Dec 11 2009, 02:12 AM
burn79 jochen, it seems that your u-boot image works also... May 3 2010, 09:22 AM
jochen QUOTE(burn79 @ May 3 2010, 06:22 PM) joch... May 6 2010, 05:30 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 17th June 2013 - 11:04 PM |