Made the first named 7490 image , and device still booted which is good. In my searches, it seems that there is no lspci binary available for openwrt (which has always been my goto for checking hardware). Is doing a diff between the various /proc files the right way to tell whats working and whats not?
proc/cpuinfo
cpuinfo under openwrt
root@OpenWrt:/# cat /proc/cpuinfo
system type : xRX200 rev 1.2
machine : AVM FRITZ!Box 7490
processor : 0
cpu model : MIPS 34Kc V5.6
BogoMIPS : 332.54
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : MIPS 34Kc V5.6
BogoMIPS : 333.82
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
cpuinfo under oem 7.01
system type : VR9
machine : Unknown
processor : 0
cpu model : MIPS 34Kc V5.6
BogoMIPS : 331.77
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt
shadow register sets : 1
kscratch registers : 0
core : 0
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
mips-options: 0x006d638b icache.flags 0x00000000 dcache.flags 0x00000004 isa_level 0x00000063 ases 00000031
processor : 1
cpu model : MIPS 34Kc V5.6
BogoMIPS : 250.67
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt
shadow register sets : 1
kscratch registers : 0
core : 0
VPE : 1
VCED exceptions : not available
VCEI exceptions : not available
mips-options: 0x006d638b icache.flags 0x00000000 dcache.flags 0x00000004 isa_level 0x00000063 ases 00000031
proc/devices
devices under openwrt
root@OpenWrt:/# cat /proc/devices
Character devices:
1 mem
5 /dev/tty
5 /dev/console
5 /dev/ptmx
10 misc
13 input
90 mtd
108 ppp
109 drv_dsl_cpe_api
128 ptm
136 pts
180 usb
189 usb_device
252 mei_cpe
253 ttyLTQ
254 gpiochip
Block devices:
31 mtdblock
254 ubiblock
259 blkext
devices under oem7.01
Character devices:
1 mem
2 pty
3 ttyp
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
68 capi_oslib
81 switch_api
89 i2c
90 mtd
128 ptm
136 pts
180 usb
189 usb_device
231 userman_url
232 kdsldptrace
233 kdsld_misc
234 kdsld_traffic
235 kdsld_user
236 kdsld
237 dect_io
238 dsl_vr9
239 mei_vr9
240 ifx_gpio
241 ifx_rcu
242 led
243 tffs
244 ifx_pmu
245 ifx_ts
246 ifx_cgu
247 ifx_pmcu
248 debug
249 avm_event
250 ifx_dma_core
251 watchdog
252 avm_power
253 avm_net_trace
254 rtc
Block devices:
259 blkext
7 loop
31 mtdblock
43 nbd
proc/meminfo
Meminfo under openwrt
root@OpenWrt:/# cat /proc/meminfo
MemTotal: 252980 kB
MemFree: 231064 kB
MemAvailable: 206900 kB
Buffers: 0 kB
Cached: 10260 kB
SwapCached: 0 kB
Active: 7228 kB
Inactive: 3896 kB
Active(anon): 7228 kB
Inactive(anon): 3896 kB
Active(file): 0 kB
Inactive(file): 0 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 896 kB
Mapped: 1720 kB
Shmem: 10260 kB
Slab: 4804 kB
SReclaimable: 824 kB
SUnreclaim: 3980 kB
KernelStack: 368 kB
PageTables: 180 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 126488 kB
Committed_AS: 13132 kB
VmallocTotal: 1048372 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
Meminfo under 7.01
MemTotal: 239360 kB
MemFree: 126164 kB
Buffers: 14044 kB
Cached: 59168 kB
SwapCached: 0 kB
Active: 22480 kB
Inactive: 60284 kB
Active(anon): 15764 kB
Inactive(anon): 1516 kB
Active(file): 6716 kB
Inactive(file): 58768 kB
Unevictable: 6060 kB
Mlocked: 6060 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 15628 kB
Mapped: 13800 kB
Shmem: 3200 kB
Slab: 15648 kB
SReclaimable: 3528 kB
SUnreclaim: 12120 kB
KernelStack: 1568 kB
PageTables: 532 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 119680 kB
Committed_AS: 34432 kB
VmallocTotal: 1048308 kB
VmallocUsed: 1384 kB
VmallocChunk: 1008724 kB
Still Todo; Ethernet ports to physical port mappings are still wonky. I did try changing ../../../../target/linux/lantiq/base-files/etc/board.d/02_network and specifying different numbering - but it didn't seem to have any effect.
02_network
+avm,fritz7490)
+ annex="a"
+ lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
+ wan_mac=$(fritz_tffs -n macdsl -i $(find_mtd_part "tffs (1)"))
+ ucidef_add_switch "switch0" \
+ "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "6t@eth0"
+ ;;