[Streak 5 Android Development] hunderteins:
Well, since the "stock 3.4" board_qsd8x50.c isn't major different from that in 2.6 and didn't even compile, I think that it hasn't been maintened for a long time.

So I startet with the board_qsd8x50-austin.c from 2.6, named it board_qsd8x50.c, and added modern device description code from the better maintained board-msm7x30.c and board-msm7x27.c.

Since the last post I fixed:

reset code is working

the clocks are working, for now

the gpios are working with the common code from drivers/gpio/gpio-msm-v1

have a nice weekend,

hunderteins

Booting Linux on physical CPU 0
Initializing cgroup subsys cpu
Linux version 3.4.0-b6036ed-dirty (hunderteins@dsc) (gcc version 4.7.2 20120910 (prerelease) (crosstool-NG linaro-1.13.1-2012.09-20120921 - Linaro GCC 2012.09) ) #195 PREEMPT Sat Jan 26 11:20:18 CET 2013
CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIVT ASID tagged instruction cache
Machine: QCT QSD8X50 SURF
Partition (from atag) boot -- Offset:1b0 Size:28
Partition (from atag) recovery -- Offset:1d8 Size:30
Partition (from atag) recovery_bak -- Offset:208 Size:30
Partition (from atag) LogFilter -- Offset:238 Size:2
Partition (from atag) oem_log -- Offset:23a Size:18
Partition (from atag) splash -- Offset:25a Size:8
Partition (from atag) system -- Offset:380 Size:820
Partition (from atag) userdata -- Offset:ba0 Size:c60
Memory policy: ECC disabled, Data cache writeback
socinfo_init: v2, id=36, ver=2.0, raw_id=576, raw_ver=2
allocating 163840 bytes at c0f00f80 (20f00f80 physical) for kernel ebi1 pmem arena
allocating 29954048 bytes at c0fff000 (20fff000 physical) for sf pmem arena
allocating 60817408 bytes at c2c90000 (22c90000 physical) for adsp pmem arena
using 6758400 bytes of SMI at 2c00000 physical for fb
allocating 524288 bytes at c6690000 (26690000 physical) for audio
dhd_port=0xc6710000,bus_rxbuf=0xc6714000,bus_databuf=0xc6718000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 123396
Kernel command line: androidboot.hardware=streak mtdparts=msm_nand:0x500000@0x03600000(boot),0x600000@0x03b00000(recovery),0x600000@0x04100000(recovery_bak),0x40000@0x04700000(LogFilter),0x300000@0x04740000(oem_log),0x100000@0x04b40000(splash),0x10400000@0x07000000(system),0x8c00000@0x17400000(userdata),0x3600000@0x0(unk1),0x100000@0x04a40000(unk2),0x023c0000@0x04c40000(unk3),0xc0000@0x00140000(sim_secure),0x2c0000@0x00360000(reserved),0x00820000@0x02b20000(efs2),0x01200000@0x04d60000(ftl) console=ttyMSM2,115200n8
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 232MB 254MB = 486MB total
Memory: 394512k/394512k available, 103152k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0000000 - 0xff000000 ( 496 MB)
lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc068116c (6629 kB)
.init : 0xc0682000 - 0xc06ae000 ( 176 kB)
.data : 0xc06ae000 - 0xc06f70a0 ( 293 kB)
.bss : 0xc06f70c4 - 0xc086aa40 (1487 kB)
NR_IRQS:293
sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
Console: colour dummy device 80x30
Calibrating delay loop... 508.72 BogoMIPS (lpj=2543616)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys cpuacct
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Scorpion PMU driver, 5 counters available
Setting up static identity map for 0x204d22d8 - 0x204d233c
NET: Registered protocol family 16
filter_init
Max ACPU freq from efuse data is 998400 KHz
ACPU running at 768000 KHz
5 scaling frequencies supported.
msm_get_usb_serial: usb single serial number
msm_hsusb_get_qctusb_driver: enable usb debugging functions
Sonia::msm_hsusb_get_qctusb_driver:qct_usbdiag_debugging=1 rpc_arg2=1
msm_hsusb_get_qctusb_driver: enable adb debugging functions adb_debugging 1
ram_console: got buffer at 2b00000, size 40000
ram_console: found existing buffer, size 31599, start 31599
console [ram-1] enabled
gpiochip_add: registered GPIOs 0 to 15 on device: msm-v1 bank0
gpiochip_add: registered GPIOs 16 to 42 on device: msm-v1 bank1
gpiochip_add: registered GPIOs 43 to 67 on device: msm-v1 bank2
gpiochip_add: registered GPIOs 68 to 94 on device: msm-v1 bank3
gpiochip_add: registered GPIOs 95 to 103 on device: msm-v1 bank4
gpiochip_add: registered GPIOs 104 to 121 on device: msm-v1 bank5
gpiochip_add: registered GPIOs 122 to 152 on device: msm-v1 bank6
gpiochip_add: registered GPIOs 153 to 164 on device: msm-v1 bank7
hw-breakpoint: found 3 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
msm_i2c_probe
msm_i2c_probe: clk_ctl 35d, 100000 Hz
Linux video capture interface: v2.00
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switching to clocksource gp_timer
FS-Cache: Loaded
CacheFiles: Loaded
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 784K
Notify: smsm init
NTFS driver 2.1.30 [Flags: R/W].
fuse init (API version 7.18)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered
io scheduler bfq registered (default)
mddi_clk init rate is 245760000
primary mddi base phy_addr = 0xaa600000 virt = 0xe000a000
BootLog, +auo_init
pinfo->clk_rate=122880000
init MDDI ESD DELAYED_WORK
Unable to handle kernel paging request at virtual address a2c00000
pgd = c0004000
[a2c00000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT ARM
Modules linked in:
CPU: 0 Not tainted (3.4.0-b6036ed-dirty #195)
PC is at __memzero+0x24/0x80
LR is at 0x0
pc : [<c020a6a4>] lr : [<00000000>] psr: 20000013
sp : df82bba4 ip : 00000000 fp : 00000020
r10: 00000000 r9 : 00000001 r8 : c06db2f0
r7 : dfb01800 r6 : c072db60 r5 : dfa71000 r4 : dfa712e8
r3 : 00000000 r2 : 00000000 r1 : 002edfc0 r0 : a2c00000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5787d Table: 20004019 DAC: 00000015

PC: 0xc020a624:
a624 e3120004 14801004 e3120002 14c01001 14c01001 e3120001 14c01001 e1a0f00e
a644 e320f000 e320f000 e320f000 e320f000 e320f000 e320f000 e320f000 00000000
a664 e2511004 ba00001d e3530002 b4c02001 d4c02001 e4c02001 e0811003 e3a02000
a684 e2103003 1afffff5 e3510010 ba00000f e52de004 e1a0c002 e1a0e002 e2511040
a6a4 a8a0500c a8a0500c a8a0500c a8a0500c cafffff9 08bd8000 e3110020 18a0500c
a6c4 18a0500c e3110010 18a0500c e49de004 e3110008 18a0000c e3110004 14802004
a6e4 e3110002 14c02001 14c02001 e3110001 14c02001 e1a0f00e e320f000 e0010192
a704 e0211390 e1a0c820 e1a03822 e1c0080c e1c22803 e0211c93 e0030390 e0000092

SP: 0xdf82bb24:
bb24 dfa710d0 c05f4d2a c05f4d2a 00000002 dfa710d8 c04f5528 c020a6a4 20000013
bb44 ffffffff df82bb8c c06db2f0 00000000 c000dd98 a2c00000 002edfc0 00000000
bb64 00000000 dfa712e8 dfa71000 c072db60 dfb01800 c06db2f0 00000001 00000000
bb84 00000020 00000000 df82bba4 00000000 c020a6a4 20000013 ffffffff c05f4d20
bba4 c023a6dc dfb00888 c0125c6c 000001a4 df817000 dfb018bc dfb01808 000001e0
bbc4 00000020 dfb00888 00000000 c075ff10 dfb01808 c075ff10 c0298020 c06db330
bbe4 c075feec c06d7918 00000000 00000001 c0299050 c029903c c0297e0c c0298020
bc04 00000000 dfb01808 c0298020 c06e1318 c0296538 df81849c dfafaf54 dfb01808

R4: 0xdfa71268:
1268 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1288 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
12a8 00000000 00000000 00000000 c06db370 00000000 00000000 00000000 00000000
12c8 a2c00000 00000000 c06db3d0 00000000 00000000 dfa712e8 00000000 00000000
12e8 11161126 00000000 00000000 00000002 00010000 000001e0 00000320 00000010
1308 00000000 00000000 00000000 00000001 00000000 00000001 00000000 00000000
1328 00000002 03938700 03938700 042c1d80 00000000 00000000 00000000 00000010
1348 000000c3 00000000 00000001 00001770 00000000 00000000 00000000 00000001

R5: 0xdfa70f80:
0f80 ffffffff 4607940d 9a05460c f8524639 f8cd0025 f036c00c f8dded04 b910c00c
0fa0 df80d520 dfa70460 00000000 dfa6f000 00000008 ffffffff c0000000 00000001
0fc0 00000002 00000003 00000004 00000005 00000006 00000007 ffffffff 0c08f842
0fe0 607c603c 68391d2f d1b12900 9c099807 91039d0c fd30f7ff a9289b04 18ad4a16
1000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1020 00000000 000001e0 00000320 000001e0 00000640 00000000 00000000 00000020
1040 00000000 00000018 00000008 00000000 00000010 00000008 00000000 00000008
1060 00000008 00000000 00000000 00000008 00000000 00000000 00000010 ffffffff

R6: 0xc072dae0:
dae0 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000002
db00 00000000 00000000 00000000 00400040 00400040 00000040 00000000 00000000
db20 c072db20 c072db20 00000000 00000000 00000000 00000000 00000000 c072db3c
db40 c072db3c 00000000 00000000 00000000 00000000 00000000 c072db58 c072db58
db60 00000000 00000000 00000000 00000000 00000000 c072db74 c072db74 00000000
db80 00000000 00000000 00000000 00000000 c072db90 c072db90 00000000 00000000
dba0 00000000 00000000 00000000 c072dbac c072dbac 00000000 00000000 00000000
dbc0 00000000 00000000 c072dbc8 c072dbc8 00000000 00000000 00000000 00000000

R7: 0xdfb01780:
1780 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
17a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
17c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
17e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1800 dfb01970 00010000 c06e1318 dfafa9e0 dfaa9c40 df80d9a0 dfb01c14 c06e1320
1820 df80d9a0 c06e11a0 dfb00888 00000003 00000007 00000000 00000000 00000000
1840 dfb01840 dfb01840 c06e12d8 c06db330 dfb01850 dfb01850 dfb01400 00000000
1860 00000000 00000000 c06e17d0 dfb01c68 7fffffff dfb01874 dfb01874 00000000

R8: 0xc06db270:
b270 c05f4784 00000124 c0236550 00000000 00000000 00000000 00000000 00000000
b290 c05f4844 000001a4 c023698c c0236b18 c05f4854 000001a4 c0236974 c0236c3c
b2b0 c05f47c4 00000124 c02369a4 00000000 c05f4850 00000124 c023695c 00000000
b2d0 c05ca5c8 00000124 c023693c 00000000 00000000 00000000 00000000 00000000
b2f0 00000001 c06db2f4 c06db2f4 00000001 c06db300 c06db300 00000005 00000007
b310 00000000 00000000 c06db494 c0239b68 c0239750 00000000 00000000 00000000
b330 c05c78fc c06e12d8 00000000 00000000 00000000 00000000 c029903c c029905c
b350 00000000 00000000 00000000 00000000 c06db438 dfafaf20 00000000 00000005
Process swapper (pid: 1, stack limit = 0xdf82a2f0)
Stack: (0xdf82bba4 to 0xdf82c000)
bba0: c023a6dc dfb00888 c0125c6c 000001a4 df817000 dfb018bc dfb01808
bbc0: 000001e0 00000020 dfb00888 00000000 c075ff10 dfb01808 c075ff10 c0298020
bbe0: c06db330 c075feec c06d7918 00000000 00000001 c0299050 c029903c c0297e0c
bc00: c0298020 00000000 dfb01808 c0298020 c06e1318 c0296538 df81849c dfafaf54
bc20: dfb01808 dfb0183c c06e12d8 c0297d48 dfb01808 dfb01808 c06e12d8 c02973cc
bc40: dfb01808 00000000 dfb01810 c0295d08 00000000 00000000 00000021 c020cc14
bc60: df82bc88 dfa712e8 dfb01800 00000000 dfb01800 dfb01808 dfb01800 dfb01c08
bc80: c06d7918 c072cd40 00000001 c0299514 dfafa9e0 dfa712e8 c072cd40 dfb01c00
bca0: dfb01800 c023f548 00000000 00000000 dfb00bc8 df8c9b60 c075ff10 dfb01c08
bcc0: c075ff10 c0298020 c06db4d4 c075feec c0249c4c 00000000 00000001 c0299050
bce0: c029903c c0297e0c c0298020 00000000 dfb01c08 c0298020 c06e1318 c0296538
bd00: df81849c dfafadd4 dfb01c08 dfb01c3c c06e12d8 c0297d48 dfb01c08 dfb01c08
bd20: c06e12d8 c02973cc dfb01c08 00000000 dfb01c10 c0295d08 00000000 00000000
bd40: 00000021 c020cc14 df82bd70 dfa712e8 dfb01c00 00000000 dfb01c00 dfb01c08
bd60: dfb01c00 dfaf9008 c0249c4c 00000000 00000001 c0299514 00000000 dfa712e8
bd80: c072d95c dfaf9000 dfb01c00 c02499cc c075ff10 08583b00 dfaf9008 c075ff10
bda0: c0298020 c06dbb34 c075feec c072bb68 00000000 c0299050 c029903c c0297e0c
bdc0: c0298020 00000000 dfaf9008 c0298020 c06e1318 c0296538 df81849c dfafad14
bde0: dfaf9008 dfaf903c c06e12d8 c0297d48 dfaf9008 dfaf9008 c06e12d8 c02973cc
be00: dfaf9008 00000000 dfaf9010 c0295d08 00000000 00000000 00000021 c020cc14
be20: df82be48 c072bb68 dfaf9000 00000000 dfaf9000 dfaf9008 00000002 00000000
be40: c072bb68 00000001 00000001 c0299514 dfafab00 c072bb68 dfaf9000 dfa71000
be60: 00000002 c0239270 c04c6120 c06dbe10 c075ff10 c0298020 c06dbcc4 c075feec
be80: c04c6204 00000000 00000000 c04c612c c04c6120 c06dbe18 c075ff10 c0298020
bea0: c06dbcc4 c0299050 c029903c c0297e0c c0298020 00000000 c06dbe18 c0298020
bec0: c06e1318 c0296538 df81849c dfafac54 c06dbe18 c06dbe4c c06e12d8 c0297d48
bee0: c06dbe18 c06dbe18 c06e12d8 c02973cc c06dbe18 00000000 c06dbe20 c0295d08
bf00: 00000000 00000000 00000021 c020cc14 df82bf38 00000000 c06dbe10 00000000
bf20: c06dbe10 c06dbe18 00000001 000000ea c04c6204 df82a000 00000000 c0299514
bf40: c06dbe78 00000000 c06dbbf0 c072ebb0 00000001 c04c6370 00000000 c06a7e1c
bf60: c06f70e0 c06ac8e0 00000006 c06a7e1c c06f70e0 c00085fc c67203da c04f5528
bf80: 000000ea c0069e68 c0659194 c05b987c 00000006 00000006 00000000 c06ac8e0
bfa0: 00000006 c06a7e1c c06f70e0 000000ea c06a7e28 c0682220 00000000 c068287c
bfc0: 00000006 00000006 c0682220 00000013 00000000 00000000 00000000 c068279c
bfe0: c000f1b4 00000013 00000000 00000000 00000000 c000f1b4 ffffffff dffbffff
Code: e52de004 e1a0c002 e1a0e002 e2511040 (a8a0500c)
---[ end trace d0737ebb5ab15f5f ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Rebooting in 1 seconds..
msm: proc_comm: proc comm disabled