Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jochen

Pages: [1]
1
SIMpad forum / Upgrade Flash Memory
« on: August 05, 2011, 03:04:56 pm »
Quote from: mr_nice
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

2
SIMpad forum / Upgrade Flash Memory
« on: May 06, 2010, 09:30:54 am »
Quote from: burn79
jochen, it seems that your u-boot image works also with my flash upgrade!  

Great. Except for the "too many flash sectors" error. I'll have a look if this limit can be raised using the config options.

Quote from: burn79
But it would be to easy, so there ist directly the next problem: I think, that one or both of the RAM-Chips are damaged

I think this might be an easy one. The DRAM refresh parameters are set up for a (fixed!) 32MB RAM size. It seems to work for 16MB as well, but definitely not for 64MB.
I guess the read errors are from a non-refreshed DRAM line. So this refresh parameter setting needs improvement (possibly a dynamic setting based on the probed RAM size).

Thanks,
Jochen

3
SIMpad forum / Upgrade Flash Memory
« on: April 27, 2010, 04:17:49 pm »
Quote from: mr_nice
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!

My SIMpad is a CL4 with an additional flash chip added to the board.

Currently, I'm running U-Boot and OpenWRT on this device:

Code: [Select]
U-Boot 2010.03-00150-g9d7ee52-dirty (Apr 17 2010 - 12:00:42)

DRAM:  16 MB
Flash: 32 MB
MQ200: Initialization start
MQ200: Initialization finished
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  3  2  1  0
## Booting kernel from Legacy Image at 00060000 ...
   Image Name:   Linux-2.6.32.12
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    824232 Bytes = 804.9 kB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.32.12 (jochen@dev1.bocc.de) (gcc version 4.3.4 (GCC) ) #2 Tue Apr 27 15:19:12 CEST 2010
CPU: StrongARM-1110 [6901b118] revision 8 (ARMv4), cr=c000717f
CPU: VIVT data cache, VIVT instruction cache
Machine: Simpad
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: console=ttySA0,115200n8
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 13056KB available (2016K code, 126K data, 100K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:49
console [ttySA0] enabled
Calibrating delay loop... 137.21 BogoMIPS (lpj=686080)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab at 0
Switching to clocksource oscr
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 25
io scheduler noop registered
io scheduler deadline registered (default)
mq200 video driver found Vendor: 0x4D51 Device: 0x200
MQ-200: DC00R = 0x0EF2082A
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Serial: SA11x0 driver
sa11x0-uart.1: ttySA1 at MMIO 0x80010000 (irq = 15) is a SA1100
sa11x0-uart.3: ttySA0 at MMIO 0x80050000 (irq = 17) is a SA1100
input: Touchscreen panel as /devices/virtual/input/input0
sa1100-0: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
SA1100 flash: CFI device at 0x00000000, 16MiB, 16-bit
sa1100-1: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
SA1100 flash: CFI device at 0x08000000, 16MiB, 16-bit
Concatenating MTD devices:
(0): "sa1100-0"
(1): "sa1100-1"
into device "sa1100"
RedBoot partition parsing not available
SA1100 flash: using static partition definition
Creating 4 MTD partitions on "sa1100":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000060000 : "u-boot env"
0x000000060000-0x000000160000 : "uimage"
0x000000160000-0x000002000000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=240000, len=1DC0000
0x000000240000-0x000002000000 : "rootfs_data"
sa1100_udc: version Apr 27 2010
sa11x0-udc sa11x0-udc: initialized, rx fe000000 tx fe000020 irq 13
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC f2:45:68:75:0b:c2
usb0: HOST MAC ee:04:46:8e:a4:2a
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
sa11x0-udc sa11x0-udc: Resetting
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing init memory: 100K
Please be patient, while OpenWrt loads ...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -

Please press Enter to activate this console.


BusyBox v1.16.1 (2010-04-27 14:10:05 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r21182) ------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (205 buckets, 820 max)

root@OpenWrt:/# sa11x0-udc sa11x0-udc: Resetting
sa11x0-udc sa11x0-udc: Resetting
sa11x0-udc sa11x0-udc: Resetting
sa11x0-udc sa11x0-udc: Resetting
sa11x0-udc sa11x0-udc: Resetting
sa11x0-udc sa11x0-udc: Resetting
sa11x0-udc sa11x0-udc: Resetting
usbep0: I have been assigned address: 3
g_ether gadget: full speed config #1: CDC Subset/SAFE
ep0_queue: zero byte packet being queued. Setting DE and OPR end exiting
usbep0: Configured (OMP=00000040 IMP=00000040)
ep0_queue: zero byte packet being queued. Setting DE and OPR end exiting

root@OpenWrt:/# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0      Link encap:Ethernet  HWaddr F2:45:68:75:0B:C2  
          inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8428 (8.2 KiB)  TX bytes:2572 (2.5 KiB)

root@OpenWrt:/# ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: seq=0 ttl=64 time=3.035 ms
64 bytes from 192.168.1.2: seq=1 ttl=64 time=3.596 ms
64 bytes from 192.168.1.2: seq=2 ttl=64 time=3.327 ms
64 bytes from 192.168.1.2: seq=3 ttl=64 time=3.108 ms
^C
--- 192.168.1.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 3.035/3.266/3.596 ms
root@OpenWrt:/#

All current code is on http://git.bocc.de.

Thanks,
Jochen

4
SIMpad forum / Upgrade Flash Memory
« on: April 02, 2010, 02:29:59 pm »
Quote from: mr_nice
hi,

In theory you should only need to replace [1] those lines (simpad.h).

Code: [Select]
#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

5
SIMpad forum / Bootldr Source
« on: November 27, 2005, 09:55:25 am »
Does anyone know where the current source code for the bootldr for Simpad can be found?
http://opensimpad.org/bootldr-simpad/ only seem to have the binaries while the CVS at hh.org doesn't have SIMPAD support.

6
SIMpad forum / Opensimpad-0.9.0rc1 On T-sinuspad!
« on: November 27, 2005, 09:46:20 am »
Quote
Hi Berend,

in the meantime, I gave the gpe-image a try, too with the same results.
I'm not really sure if there is a major problem with the bootldr itself leading to these problems or the images which maybe rely on an existing home partition or whatever.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104937\"][{POST_SNAPBACK}][/a][/div]

One problem could be the different memory size. While bootloader detects the smaller device with 32MB main memory, the kernel assumes 64MB and behaves strange when trying to use nonexisting memory. I sort of fixed this by adding mem=32M to the kernel parameters on my "pimped" CL4 (added second flash chip to the main board).

Pages: [1]