Booted the openwrt uImage, after specifying
AMAZON_SE # run flashargs
which
flashargs=setenv bootargs root=/dev/mtdblock4
With message of kernel build seems exactly the same as the original (build time, etc). I'm confused.
AMAZON_SE # tftpboot 0x00700000 uImage
Using AMAZON_SE Switch device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'uImage'.
Load address: 0x700000
Loading: checksum bad
checksum bad
#################################################################
#################################################################
############################################################
done
Bytes transferred = 972193 (ed5a1 hex)
AMAZON_SE # tftpboot 0x00700000 uImage
Using AMAZON_SE Switch device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'uImage'.
Load address: 0x700000
Loading: #################################################################
#################################################################
############################################################
done
Bytes transferred = 972193 (ed5a1 hex)
AMAZON_SE # run flashargs
AMAZON_SE # bootm 0x00700000
## Booting image at 00700000 ...
Image Name: MIPS Linux-2.6.20
Created: 2012-03-05 4:37:24 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 874532 Bytes = 854 kB
Load Address: 80002000
Entry Point: 802a2000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.20-Amazon_SE
(root@localhost.localdomain) (gcc version 3.4.4 20050119 (MIPS SDE)) #51 Mon Mar 5 12:37:17 CST 2012
Current Model:R0416_BSP_EPHY_SPI_HOST_A4
This model supports only basic BSP feature on Amazon SE Small board with SPI flash USB host and PPE A4 firmware
CPU revision is: 0001906c
Determined physical RAM map:
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 8128
Kernel command line: root=/dev/mtdblock4 mem=32M
Primary instruction cache 8kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
mips_hpt_frequency:133333333
r4k_offset: 00145855(1333333)
Using 133.333 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29520k/32768k available (2267k kernel code, 3248k reserved, 418k data, 132k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
amazon_se_dma_init
dma_chip_init
gptu: totally 6 16-bit timers/counters
gptu: misc_register on minor 63
gptu: succeeded to request irq 25 for timer[0]
gptu: succeeded to request irq 26 for timer[1]
gptu: succeeded to request irq 27 for timer[2]
gptu: succeeded to request irq 28 for timer[3]
gptu: succeeded to request irq 29 for timer[4]
gptu: succeeded to request irq 30 for timer[5]
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
fuse init (API version 7.8)
io scheduler noop registered (default)
Infineon Technologies port driver version 1.0.2
cgu: misc_register on minor = 62
led: misc_register on minor = 151
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
Unknown module try to reserve GPIO
Unknown module try to reserve GPIO
Infineon Technologies Synchronous Serial Controller (SSC) driver version 0.2.1
IFX MEI Version 4.00.01
Infineon CPE API Driver version: DSL CPE API V3.20.5.1
DSL_DRV: using proc fs
ttyS0 at MMIO 0xbe100c00 (irq = 2) is a IFX_ASC
PPP generic driver version 2.4.2
NET: Registered protocol family 24
IMQ starting with 2 devices...
IMQ driver loaded successfully.
Hooking IMQ before NAT on PREROUTING.
Hooking IMQ after NAT on POSTROUTING.
Loading A4 (ATM+MII0) driver ...... Force to 100MB Duplex
Succeeded!
PPE datapath driver info:
Version ID: 8.3.5.1.0.0.1
Family : Amazon-SE
DR Type : Normal Data Path | Indirect-Fast Path
Interface : MII0 | ATM
Mode : Routing
Release : 0.0.1
PPE firmware info:
Version ID: 3.1.2.6.1.6
Family : Amazon-SE
FW Type : Standard
Interface : MII0 + ATM
Mode : Bridging + IPv4 Routing
Release : 1.6
PPA API --- init successfully
Infineon Technologies Synchronous SPI flash driver version 0.0.1
MTD driver for SPI flash.
Probing for Serial flash ...
Update rx_eff_size to 4
<5>Creating 8 MTD partitions on "amazon_se-spi":
0x00000000-0x00020000 : "U-Boot"
0x00020000-0x00030000 : "ENV_MAC"
0x00030000-0x00040000 : "DPF"
0x00040000-0x00050000 : "NVRAM"
0x00050000-0x00700000 : "RootFS_DPUMP"
0x00700000-0x00800000 : "Kernel"
0x00050000-0x00800000 : "ROOTFS_KERNEL"
0x00000000-0x00020000 : "POT"
Update rx_eff_size to 4096
<6>dwc_otg: version 2.2-RC3
dwc_otg dwc_otg: DWC OTG Controller
dwc_otg dwc_otg: new USB bus registered, assigned bus number 1
dwc_otg dwc_otg: irq 31, io mem 0x00000000
DWC_otg: Init: Power Port (0)
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
nf_ct_ftp: registering helper for pf: 2 port: 21
nf_ct_ftp: registering helper for pf: 10 port: 21
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
usb 1-1: new high speed USB device using dwc_otg and address 2
usb 1-1: configuration #1 chosen from 1 choice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
atmpvc_init() failed with -17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Time: MIPS clocksource has been installed.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 132k freed
init started: BusyBox v1.13.1 (2012-03-01 17:48:55 CST
starting pid 14, tty '': '/usr/etc/rcS
Algorithmics/MIPS FPU Emulator v1.5
netfilter PSD loaded - (c) astaro AG
ipt_http_string: module license 'SERCOMM' taints kernel.
init:866
cat: can't open '/tmp/etc/block.htm': No such file or directory
insmod: cannot insert '/lib/modules/igmp_snooping.ko': unknown symbol in module, or unknown parameter
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
userspace registering PID
cat: can't open '/proc/nvram/BaseMacAddr': No such file or directory
ap_name=(null) action=start
/bin/echo GMT+0 > /etc/TZ
killall: udhcpd: no process killed
iptables: No chain/target/match by that name
killall: miniupnpd: no process killed
killall: dnrd: no process killed
Notice: caching turned off
Warning: Using /etc/hosts will be removed in a future version. Please use only the /etc/dnrd/master file or use -m off.
dnrd -a 192.168.0.1 -m hosts -c off --timeout=0 -b -s 1.1.1.1
Do not need swap cal data
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
interface ath0 does not exist!
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
ff
WaitForConfiguration
100
Please press Enter to activate this console. WaitForLinkActivate
Here is the original boot message from factory flash firmware
ROM VER: 1.2.0
CFG 04
EEPROM Data OK
U-Boot 1.1.5-2.2 (Mar 19 2011 - 00:58:03)
DRAM: 32 MB
relocate_code start
relocate_code finish.
Now running in RAM - U-Boot at: 81fc0000
Flash: 8 MB
using default environment
In: serial
Out: serial
Err: serial
Net: External Clock
Selected EPHY_MODE
AMAZON_SE Switch
mac = 00:8e:f2:7f:45:a6
AMAZON_SE_GPIO_P0_IN = 0xa9ff..
AMAZON_SE_GPIO_P1_IN = 0x2b08..
Type "run flash_nfs" to mount root filesystem over NFS
Input Ctrl-c to stop autoboot: 0
Check FW intergality...OK
Ethernet Init Done!
SC: RX pkt len:148
SC: RX pkt len:60
SC: RX pkt len:86
SC: RX pkt len:90
SC: RX pkt len:60
SC: RX pkt len:90
SC: RX pkt len:60
SC: RX pkt len:1036
SC: RX pkt len:1056
SC: RX pkt len:86
SC: RX pkt len:66
SC: RX pkt len:1056
SC: RX pkt len:1036
SC: RX pkt len:62
SC: RX pkt len:110
SC: RX pkt len:698
SC: RX pkt len:718
SC: RX pkt len:698
SC: RX pkt len:718
SC: RX pkt len:60
SC: RX pkt len:86
SC: RX pkt len:66
SC: RX pkt len:148
SC: RX pkt len:175
SC: RX pkt len:60
No NMRP Server found
De-init Ethernet..Done!bootloader verion = 1.09
## Booting image at 00700000 ...
Image Name: MIPS Linux-2.6.20
Created: 2012-03-05 4:37:24 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 874532 Bytes = 854 kB
Load Address: 80002000
Entry Point: 802a2000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.20-Amazon_SE
(root@localhost.localdomain) (gcc version 3.4.4 20050119 (MIPS SDE)) #51 Mon Mar 5 12:37:17 CST 2012
Current Model:R0416_BSP_EPHY_SPI_HOST_A4
This model supports only basic BSP feature on Amazon SE Small board with SPI flash USB host and PPE A4 firmware
CPU revision is: 0001906c
Determined physical RAM map:
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 8128
Kernel command line: root=/dev/mtdblock4 ip=192.168.1.1:192.168.1.2::::eth0:on console=ttyS0,115200 ethaddr=00:8e:f2:7f:45:a6 mem=32M panic=1
Primary instruction cache 8kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
mips_hpt_frequency:133333333
r4k_offset: 00145855(1333333)
Using 133.333 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29520k/32768k available (2267k kernel code, 3248k reserved, 418k data, 132k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
amazon_se_dma_init
dma_chip_init
gptu: totally 6 16-bit timers/counters
gptu: misc_register on minor 63
gptu: succeeded to request irq 25 for timer[0]
gptu: succeeded to request irq 26 for timer[1]
gptu: succeeded to request irq 27 for timer[2]
gptu: succeeded to request irq 28 for timer[3]
gptu: succeeded to request irq 29 for timer[4]
gptu: succeeded to request irq 30 for timer[5]
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
fuse init (API version 7.8)
io scheduler noop registered (default)
Infineon Technologies port driver version 1.0.2
cgu: misc_register on minor = 62
led: misc_register on minor = 151
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
drivers/char/amazon_se_led.c amazon_se_led_config 1244: f_software_update = 1
Unknown module try to reserve GPIO
Unknown module try to reserve GPIO
Infineon Technologies Synchronous Serial Controller (SSC) driver version 0.2.1
IFX MEI Version 4.00.01
Infineon CPE API Driver version: DSL CPE API V3.20.5.1
DSL_DRV: using proc fs
ttyS0 at MMIO 0xbe100c00 (irq = 2) is a IFX_ASC
PPP generic driver version 2.4.2
NET: Registered protocol family 24
IMQ starting with 2 devices...
IMQ driver loaded successfully.
Hooking IMQ before NAT on PREROUTING.
Hooking IMQ after NAT on POSTROUTING.
Loading A4 (ATM+MII0) driver ...... Force to 100MB Duplex
Succeeded!
PPE datapath driver info:
Version ID: 8.3.5.1.0.0.1
Family : Amazon-SE
DR Type : Normal Data Path | Indirect-Fast Path
Interface : MII0 | ATM
Mode : Routing
Release : 0.0.1
PPE firmware info:
Version ID: 3.1.2.6.1.6
Family : Amazon-SE
FW Type : Standard
Interface : MII0 + ATM
Mode : Bridging + IPv4 Routing
Release : 1.6
PPA API --- init successfully
Infineon Technologies Synchronous SPI flash driver version 0.0.1
MTD driver for SPI flash.
Probing for Serial flash ...
Update rx_eff_size to 4
<5>Creating 8 MTD partitions on "amazon_se-spi":
0x00000000-0x00020000 : "U-Boot"
0x00020000-0x00030000 : "ENV_MAC"
0x00030000-0x00040000 : "DPF"
0x00040000-0x00050000 : "NVRAM"
0x00050000-0x00700000 : "RootFS_DPUMP"
0x00700000-0x00800000 : "Kernel"
0x00050000-0x00800000 : "ROOTFS_KERNEL"
0x00000000-0x00020000 : "POT"
Update rx_eff_size to 4096
<6>dwc_otg: version 2.2-RC3
dwc_otg dwc_otg: DWC OTG Controller
dwc_otg dwc_otg: new USB bus registered, assigned bus number 1
dwc_otg dwc_otg: irq 31, io mem 0x00000000
DWC_otg: Init: Power Port (0)
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
nf_ct_ftp: registering helper for pf: 2 port: 21
nf_ct_ftp: registering helper for pf: 10 port: 21
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
usb 1-1: new high speed USB device using dwc_otg and address 2
usb 1-1: configuration #1 chosen from 1 choice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
atmpvc_init() failed with -17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Time: MIPS clocksource has been installed.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 132k freed
init started: BusyBox v1.13.1 (2012-03-01 17:48:55 CST
starting pid 14, tty '': '/usr/etc/rcS
Algorithmics/MIPS FPU Emulator v1.5
netfilter PSD loaded - (c) astaro AG
ipt_http_string: module license 'SERCOMM' taints kernel.
init:866
cat: can't open '/tmp/etc/block.htm': No such file or directory
insmod: cannot insert '/lib/modules/igmp_snooping.ko': unknown symbol in module, or unknown parameter
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
userspace registering PID
cat: can't open '/proc/nvram/BaseMacAddr': No such file or directory
ap_name=(null) action=start
/bin/echo GMT+0 > /etc/TZ
killall: udhcpd: no process killed
iptables: No chain/target/match by that name
killall: miniupnpd: no process killed
killall: dnrd: no process killed
Notice: caching turned off
Warning: Using /etc/hosts will be removed in a future version. Please use only the /etc/dnrd/master file or use -m off.
dnrd -a 192.168.0.1 -m hosts -c off --timeout=0 -b -s 1.1.1.1
Do not need swap cal data
VAP-Name -- ath0
BGSCAN -- 0
Fast-Frame-Txq-Min -- 1000
SHORT GI -- 1
CWM MODE -- 1
CWM EXTOFFSET -- 1
CWM EXTPROTSPACING -- 0
AMPDU -- 1
TX CHAIN MASK -- 1
RX CHAIN MASK -- 1
HIDESSID -- 0
APBRIDGE -- 1
Frequency -- 0.0
SSID -- virginmedia0265831
COUNTRY CODE -- 0x114
WDS -- 0
MACCMD -- 0
DOTH -- 0
COUNTRY IE -- 1
Please press Enter to activate this console. ff
The difference is right at the end of boot message
My manual tftpboot + bootm resulted in:
cat: can't open '/proc/nvram/BaseMacAddr': No such file or directory
ap_name=(null) action=start
/bin/echo GMT+0 > /etc/TZ
killall: udhcpd: no process killed
iptables: No chain/target/match by that name
killall: miniupnpd: no process killed
killall: dnrd: no process killed
Notice: caching turned off
Warning: Using /etc/hosts will be removed in a future version. Please use only the /etc/dnrd/master file or use -m off.
dnrd -a 192.168.0.1 -m hosts -c off --timeout=0 -b -s 1.1.1.1
Do not need swap cal data
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
interface ath0 does not exist!
Error doing ioctl(): Unknown error -1
Error doing ioctl(): Unknown error -1
ff
WaitForConfiguration
100
Please press Enter to activate this console. WaitForLinkActivate
while normal boot without interruption ends with:
cat: can't open '/proc/nvram/BaseMacAddr': No such file or directory
ap_name=(null) action=start
/bin/echo GMT+0 > /etc/TZ
killall: udhcpd: no process killed
iptables: No chain/target/match by that name
killall: miniupnpd: no process killed
killall: dnrd: no process killed
Notice: caching turned off
Warning: Using /etc/hosts will be removed in a future version. Please use only the /etc/dnrd/master file or use -m off.
dnrd -a 192.168.0.1 -m hosts -c off --timeout=0 -b -s 1.1.1.1
Do not need swap cal data
VAP-Name -- ath0
BGSCAN -- 0
Fast-Frame-Txq-Min -- 1000
SHORT GI -- 1
CWM MODE -- 1
CWM EXTOFFSET -- 1
CWM EXTPROTSPACING -- 0
AMPDU -- 1
TX CHAIN MASK -- 1
RX CHAIN MASK -- 1
HIDESSID -- 0
APBRIDGE -- 1
Frequency -- 0.0
SSID -- virginmedia0265831
COUNTRY CODE -- 0x114
WDS -- 0
MACCMD -- 0
DOTH -- 0
COUNTRY IE -- 1
Please press Enter to activate this console. ff
(Last edited by krembuk on 21 May 2016, 12:29)