SamSung4510

Todo

Hardware

SOC

Specifications: cfr [WWW] samsung

aamsized

Routers

This CPU samsung4510 is present in a lot of Access Points (warning: check the revisions!!!):

Model

FCC-ID

Flash

RAM

WLAN card

Pictures

Board Manufacturer

Comments

Owners

[WWW] Benq AWL500

JWP-AWL500

MX29LV800BTC-90

HY57V16160DTC-7

PCMCIA Benq AWL100

[WWW] Pics

wifimaarten AatT hotmail DdOotT com

BeWan6104W

XXX-XXXXX

[WWW] Pics

meATamDOTcom

Dell Truemobile1184

MXF-R910604

Prism2

[WWW] Trilug

Gemtek

No JTAG?

[MAILTO] magnus@yonderway.com

DI-614+RevA

O7J-GL2422040T

chipxxx: 1MB

chipxxx: 8MB

acx100 cardbus

[WWW] Pics

Global Sun Tech

bhATudevDOTorg

DWL-900AP+RevA

O7J-GL242204-0T

MXe021451:2MB

samsung k4s643232e:8MB

ACX100 pcmcia

[WWW] Pics

Global sun tech

bcnw at barcelonawireless point net

DWL-900AP+RevB

KA2DWL900AP-PLUS

[WWW] Pics

meATamDOTcom

DWL-1000AP+

KA2DWL-1000APPLUS

[WWW] Pics

meATamDOTcom

Draytek2200we

XXX-XXXXX

meATamDOTcom

Draytek2600we

XXX-XXXXX

[WWW] Pics

meATamDOTcom

PheeNet WL-522BA (GL2422AP-OT V1.1)

O7J-GL2422AP

MX 29LV800BTC-90: 1MB :-(

Hynix HY57V643220CT-6: 8MB

[WWW] Pics

Global Sun Tech, most likely

ACX100 driver main developer

andi AT lisas DOT de

SMC2455W

O7J-GL2422AP

MX29LV800BTC-90: 1MB

Hynix HY57V643220CT-6: 8MB

ACX100 PCMCIA card

[WWW] Pics

Global Sun Tech.

sgaleano AT badalonawireless DOT net

SMC 7004AWBR

HED7004ACC

[WWW] Pics

meATamDOTcom

SMC 7404WBRA

HED7004ACC

[WWW] Pics

meATamDOTcom

TEW-310APB

XXX-XXXXX

[WWW] Pics

meATamDOTcom

TEW-310APBX

XXX-XXXXX

[WWW] Pics

meATamDOTcom

USR2249

XXX-XXXXX

[WWW] Pics

meATamDOTcom

Netgear MR314

XXX-XXXXX

[WWW] Johann Hanne

meATamDOTcom

acv

Is it a serial connector at the top left?

aaisized

Serial access

serial

Thanks to good fingers and skills from Greg Holger

JTAG

Pinout

The pinout and pictures are given here: [WWW] http://www.x123.info/?menu=614

Adaptator on // port

jtag-samsung4510-ver02

[WWW] Home made JTAG interface

Jtag-tools

apt-get install jtag-tools

[WWW] JTAGER

Kernel Sources

[WWW] http://sourceforge.net/projects/samsung-uclinux/

Cross compilation

Installation of cross compilator for arm

[WWW] Development tools

HackingSessions

Here are pictures of the hacking session:

[WWW] http://www.ffii.org/~zoobab/bh.udev.org/filez/projects/uClinux-samsung4510/hackparty031019/

[WWW] http://www.ffii.org/~zoobab/bh.udev.org/filez/projects/uClinux-samsung4510/hackparty031101/

We succeed in reflashing the DI-614+, but we still need to modify the bios to support differents IO, so as to boot the kernel on it...

There are some [WWW] comments on Slashdot (02nov2003)

Booter

Booter for Samsung S3C4510B: [WWW] http://sourceforge.net/projects/bios-lt/

Kernel

Results: no problem for booting the kernel:

Compex BIOS for SAMSUNG S3C4510B v1.20-lt74

Press Enter for Menu, Esc for Safe Mode

Initializing system .... Done
Found M29W800DB at 0x00000000

Loading Image From Net ................ 
bios_eth_cfg, from: 0001011c

Mini TFTP Server 1.0 (IP : 192.168.42.2)

Starting the TFTP download...

Starting the TFTP download...
..............................
Done
<4>Linux version 2.4.22-uc0 (root@codecarver) (gcc version 2.95.2 20000313 (Debian GNU/Linux)) #81 Sun Nov 2 15:24:47 CET 2003
<4>Processor: Samsung S3C4510B revision 6
<4>Architecture: SNDS100
<4>On node 0 totalpages: 2048
<4>zone(0): 0 pages.
<4>zone(1): 2048 pages.
<4>zone(2): 0 pages.
<4>Kernel command line: ip=192.168.42.2:192.168.42.1:192.168.42.1:255.255.255.0:hackme:eth0:none nfsroot=192.168.42.1:/home/p2/uclinux-arm-root
<4>Calibrating delay loop... 24.83 BogoMIPS
<6>Memory: 8MB = 8MB total
<5>Memory: 6988KB available (848K code, 175K data, 48K init)
<6>Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
<6>Inode cache hash table entries: 512 (order: 0, 4096 bytes)
<6>Mount cache hash table entries: 512 (order: 0, 4096 bytes)
<6>Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
<4>Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
<4>POSIX conformance testing by UNIFIX
<6>Linux NET4.0 for Linux 2.4
<6>Based upon Swansea University Computer Society NET3.039
<4>Initializing RT netlink socket
<4>Starting kswapd
<6>Samsung S3C4510 Serial driver version 0.9 (2001-12-27) with no serial options enabled
<6>ttyS00 at 0x3ffd000 (irq = 5) is a S3C4510B
<6>ttyS01 at 0x3ffe000 (irq = 7) is a S3C4510B
<6>Samsung S3C4510 Ethernet driver version 0.1 (2002-02-20) <mac@os.nctu.edu.tw>
<6>eth0: 00:40:95:36:35:34 
<6>NET4: Linux TCP/IP 1.0 for NET4.0
<6>IP Protocols: ICMP, UDP, TCP
<6>IP: routing cache hash table of 512 buckets, 4Kbytes
<6>TCP: Hash tables configured (established 512 bind 512)
<4>IP-Config: Complete:
<4>      device=eth0, addr=192.168.42.2, mask=255.255.255.0, gw=192.168.42.1,
<4>     host=hackme, domain=, nis-domain=(none),
<4>     bootserver=192.168.42.1, rootserver=192.168.42.1, rootpath=
<4>ip_tables: (C) 2000-2002 Netfilter core team
<6>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
<5>Looking up port of RPC 100003/2 on 192.168.42.1
<5>Looking up port of RPC 100005/1 on 192.168.42.1
<4>VFS: Mounted root (nfs filesystem).
<4>Freeing init memory: 48K

We've used the [WWW] bios-lt ucdist to compile the kernel.

Links

Questions

Q: One interesting thing about at least some ACX100-based APs is that (in order to save costs?) designers use some "16-bit slave" mode of the chipset. I.e. the card included in DWL-900AP+ isn't really a PCMCIA or cardbus device, but rather some kind of zombie. Does anyone have ACX100 docs? Furthermore it looks like at least on this device they use a PLD to multiplex an 8-bit signal from the 4510. Anyone know anything about this? -- JerrittCollord

A: It's a real 22mbps cardbus card, like other 22mbps cardbus card based on the TI chipset -- bhATudev.org

A: Yes, it's a real cardbus card (from the HW's point of view), but in the serial eeprom of the card, the card is configured to the simple slave io mode. The signals, however, are still in the cardbus layout, so it seems impossible to use any other cardbus or pcmcia card. the register space is mapped to 0x7600000 of the arm's address space. take a look at [WWW] http://debugmo.de/download/acx100.c. Yes this is very ugly code, but shows the basic interfacing.

Maybe it's possible to merge this with the sourceforge's acx100 driver. you need a firmware image called apfw_image, and the radio firmware image called apfw2.

Q: There's a security flaw in usr2249 clones, exploit [WWW] decribed here. Could it be useful to make a test/firmware upgrade for those boards in TFTP (without reflashing)?

Q: Any thoughts about replacing the pcmcia card in units such as the 900+ with a prism based card and just using the hostap driver?

A: As noted above, this won't work, since it's a proprietary slave-io-on-cardbus-pinout. Sorry.

Q: What's about the GSTSEARCH backdoor?

A: They claimed to remove the backdoor, which enabled you to read out configuration data without knowing any password, but in reality, they just encrypted it.

Look at [WWW] http://debugmo.de/download/dwl900.tar.gz for a DWL900AP+(revA) exploit. It won't work with other brands, they have different keys.


Suggestions

Hacking other AP with JTAG that have high probability to run linux: OtherAPwithJTAG

Dig into the FCC search site with the following FCC-IDs of those routers: [WWW] http://www.google.be/search?q=cache:xFoLT9FZZR8J:www.netopia.com/3DReach/News_IQ_Labs_Report.pdf+netgear+mr814+fcc-id&hl=fr&ie=UTF-8

Some ZyXEL routers and derivatives (Netgear etc) with SC4510 run a bootloader with powerful commandline interface, more info about that and about image formats here at [WWW] http://www.ixo.de/info/zyxel_uclinux/

last edited 2007-02-05 17:33:29 by fw

Bandwidth Provided by speakeasy.net