Hello All,
Below is the log generated for QCA -LSDK
what changes needs to be done to fix the below errors.
during the Log generation, following are the errors
1. JFFS2 Error
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "cgi-bin" (ino #410) of dir
2.
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")[/b]
DRAM: 256 MB
SPI Flash: 16 MB
eth0 up
eth1 up
eth0, eth1
Param Page Failure: 0x0
Param Page Failure: 0x0
Param Page Failure: 0x0Attempting to use unknown device
Hit any key to stop autoboot: 0
> run qca_boot
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...Erasing flash...
First 0x4 last 0x4 sector size 0x10000
4
Erased 1 sectors
Writing to Flash... write addr: 9f040000
done
Protected 1 sectors
U-Boot 1.1.4 (Dec 4 2020 - 13:00:45)
DRAM: 256 MB
SPI Flash: 16 MB
eth0 up
eth1 up
eth0, eth1
Param Page Failure: 0x0
Param Page Failure: 0x0
Param Page Failure: 0x0Attempting to use unknown device
Hit any key to stop autoboot: 0
## Booting image at 9faa0000 ...
Image Name: Linux Kernel Image
Created: 2022-03-28 2:19:38 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1002490 Bytes = 979 kB
Load Address: 80002000
Entry Point: 80210b10
Verifying Checksum at 0x9faa0040 ...OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Booting QCA955x
Linux version 2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty (root@ ) (gcc version 4.3.3 (GCC) ) #4 Tue Mar 22 16:50:30 SGT 2022
flash_size passed from bootloader = 16
arg 1: console=ttyS0,115200
arg 2: root=31:01
arg 3: rootfstype=jffs2
arg 4: init=/sbin/init
arg 5: mtdparts=ath-nor0:640k(u-boot),8192k(rootfs),2048k(uImage),5248k(mib0),19 2k(u-boot-env),64k(ART)
arg 6: mem=256M
CPU revision is: 00019750 (MIPS 74Kc)
cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 10000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00010000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00010000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS0,115200 root=31:01 rootfstype=jffs2 init=/sbin /init mtdparts=ath-nor0:640k(u-boot),8192k(rootfs),2048k(uImage),5248k(mib0),192 k(u-boot-env),64k(ART) mem=256M
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 242372k/262144k available (2124k kernel code, 19556k reserved, 529k data , 160k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Console: colour dummy device 80x25
Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
Mount-cache hash table entries: 512
****************ALLOC***********************
Packet mem: 802dd160 (0xe00000 bytes)
********************************************
NET: Registered protocol family 16
ath_pcibios_init: bus 0
ath_pcibios_init(254): PCI 0 CMD write: 0x356
registering PCI controller with io_map_base unset
ath_pcibios_init: bus 1
***** Warning PCIe 1 H/W not found !!!
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
pcibios_map_irq: IRQ 75 for bus 0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
fuse init (API version 7.12)
msgmni has been set to 473
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
brd: module loaded
6 cmdlinepart partitions found on MTD device ath-nor0
Creating 6 MTD partitions on "ath-nor0":
0x000000000000-0x0000000a0000 : "u-boot"
0x0000000a0000-0x0000008a0000 : "rootfs"
0x0000008a0000-0x000000aa0000 : "uImage"
0x000000aa0000-0x000000fc0000 : "mib0"
0x000000fc0000-0x000000ff0000 : "u-boot-env"
0x000000ff0000-0x000001000000 : "ART"
Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Commu nications, Ltd.
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 16
athwdt_init: Registering WDT success
ath_otp_init: Registering OTP success
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "cgi-bin" (ino #410) of dir
ino #374 appears to be a hard link
VFS: Mounted root (jffs2 filesystem) readonly on device 31:1.
Freeing unused kernel memory: 160k freed
init started: BusyBox v1.01 (2022.03.28-02:19+0000) multi-call binary
init started: BusyBox v1.01 (2022.03.28-02:19+0000) multi-call binary
Starting pid 16, console /dev/ttyS0: '/etc/rc.d/rcS'
qca955x_GMAC: Length per segment 1536
955x_GMAC: qca955x_gmac_attach
955x_GMAC: qca955x_set_gmac_caps
Currently in polling mode unit0
qca955x_GMAC: RX TASKLET - Pkts per Intr:160
qca955x_GMAC: Mac address for unit 0:bfff0000
qca955x_GMAC: ff:ff:ff:ff:ff:ff
MAC:0 Warning: Phy not found!!!
qca955x_GMAC: Max segments per packet : 1
qca955x_GMAC: Max tx descriptor count : 128
qca955x_GMAC: Max rx descriptor count : 224
qca955x_GMAC: Mac capability flags : 42A00
955x_GMAC: qca955x_gmac_attach
955x_GMAC: qca955x_set_gmac_caps
Currently in polling mode unit1
Registering AR8033 Phy....
qca955x_GMAC: RX TASKLET - Pkts per Intr:160
qca955x_GMAC: Mac address for unit 1:bfff0006
qca955x_GMAC: ff:ff:ff:ff:ff:ff
qca955x_GMAC: Max segments per packet : 1
qca955x_GMAC: Max tx descriptor count : 128
qca955x_GMAC: Max rx descriptor count : 224
qca955x_GMAC: Mac capability flags : 2042200
955x_GMAC: Serdes PLL is locked value 0x18818116
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
usbcore: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 32 BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/usbcore.ko': Invalid module forma t (-1): Exec format error
ehci_hcd: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 3 2BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/ehci-hcd.ko': Invalid module form at (-1): Exec format error
usb_storage: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32 BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R 2 32BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/usb-storage.ko': Invalid module f ormat (-1): Exec format error
usbnet: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 32B IT '
insmod: cannot insert `/lib/modules/2.6.31/usb/usbnet.ko': Invalid module format (-1): Exec format error
cdc_ether: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BI T ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 32BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/cdc_ether.ko': Invalid module for mat (-1): Exec format error
athstats
80211stats
wlanconfig
pktlogconf
pktlogdump
radartool
thanks.
Below is the log generated for QCA -LSDK
what changes needs to be done to fix the below errors.
during the Log generation, following are the errors
1. JFFS2 Error
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "cgi-bin" (ino #410) of dir
2.
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")[/b]
DRAM: 256 MB
SPI Flash: 16 MB
eth0 up
eth1 up
eth0, eth1
Param Page Failure: 0x0
Param Page Failure: 0x0
Param Page Failure: 0x0Attempting to use unknown device
Hit any key to stop autoboot: 0
> run qca_boot
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...Erasing flash...
First 0x4 last 0x4 sector size 0x10000
4
Erased 1 sectors
Writing to Flash... write addr: 9f040000
done
Protected 1 sectors
U-Boot 1.1.4 (Dec 4 2020 - 13:00:45)
DRAM: 256 MB
SPI Flash: 16 MB
eth0 up
eth1 up
eth0, eth1
Param Page Failure: 0x0
Param Page Failure: 0x0
Param Page Failure: 0x0Attempting to use unknown device
Hit any key to stop autoboot: 0
## Booting image at 9faa0000 ...
Image Name: Linux Kernel Image
Created: 2022-03-28 2:19:38 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1002490 Bytes = 979 kB
Load Address: 80002000
Entry Point: 80210b10
Verifying Checksum at 0x9faa0040 ...OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Booting QCA955x
Linux version 2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty (root@ ) (gcc version 4.3.3 (GCC) ) #4 Tue Mar 22 16:50:30 SGT 2022
flash_size passed from bootloader = 16
arg 1: console=ttyS0,115200
arg 2: root=31:01
arg 3: rootfstype=jffs2
arg 4: init=/sbin/init
arg 5: mtdparts=ath-nor0:640k(u-boot),8192k(rootfs),2048k(uImage),5248k(mib0),19 2k(u-boot-env),64k(ART)
arg 6: mem=256M
CPU revision is: 00019750 (MIPS 74Kc)
cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 10000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00010000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00010000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS0,115200 root=31:01 rootfstype=jffs2 init=/sbin /init mtdparts=ath-nor0:640k(u-boot),8192k(rootfs),2048k(uImage),5248k(mib0),192 k(u-boot-env),64k(ART) mem=256M
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 242372k/262144k available (2124k kernel code, 19556k reserved, 529k data , 160k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Console: colour dummy device 80x25
Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
Mount-cache hash table entries: 512
****************ALLOC***********************
Packet mem: 802dd160 (0xe00000 bytes)
********************************************
NET: Registered protocol family 16
ath_pcibios_init: bus 0
ath_pcibios_init(254): PCI 0 CMD write: 0x356
registering PCI controller with io_map_base unset
ath_pcibios_init: bus 1
***** Warning PCIe 1 H/W not found !!!
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
pcibios_map_irq: IRQ 75 for bus 0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
fuse init (API version 7.12)
msgmni has been set to 473
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
brd: module loaded
6 cmdlinepart partitions found on MTD device ath-nor0
Creating 6 MTD partitions on "ath-nor0":
0x000000000000-0x0000000a0000 : "u-boot"
0x0000000a0000-0x0000008a0000 : "rootfs"
0x0000008a0000-0x000000aa0000 : "uImage"
0x000000aa0000-0x000000fc0000 : "mib0"
0x000000fc0000-0x000000ff0000 : "u-boot-env"
0x000000ff0000-0x000001000000 : "ART"
Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Commu nications, Ltd.
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 16
athwdt_init: Registering WDT success
ath_otp_init: Registering OTP success
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "cgi-bin" (ino #410) of dir
ino #374 appears to be a hard link
VFS: Mounted root (jffs2 filesystem) readonly on device 31:1.
Freeing unused kernel memory: 160k freed
init started: BusyBox v1.01 (2022.03.28-02:19+0000) multi-call binary
init started: BusyBox v1.01 (2022.03.28-02:19+0000) multi-call binary
Starting pid 16, console /dev/ttyS0: '/etc/rc.d/rcS'
qca955x_GMAC: Length per segment 1536
955x_GMAC: qca955x_gmac_attach
955x_GMAC: qca955x_set_gmac_caps
Currently in polling mode unit0
qca955x_GMAC: RX TASKLET - Pkts per Intr:160
qca955x_GMAC: Mac address for unit 0:bfff0000
qca955x_GMAC: ff:ff:ff:ff:ff:ff
MAC:0 Warning: Phy not found!!!
qca955x_GMAC: Max segments per packet : 1
qca955x_GMAC: Max tx descriptor count : 128
qca955x_GMAC: Max rx descriptor count : 224
qca955x_GMAC: Mac capability flags : 42A00
955x_GMAC: qca955x_gmac_attach
955x_GMAC: qca955x_set_gmac_caps
Currently in polling mode unit1
Registering AR8033 Phy....
qca955x_GMAC: RX TASKLET - Pkts per Intr:160
qca955x_GMAC: Mac address for unit 1:bfff0006
qca955x_GMAC: ff:ff:ff:ff:ff:ff
qca955x_GMAC: Max segments per packet : 1
qca955x_GMAC: Max tx descriptor count : 128
qca955x_GMAC: Max rx descriptor count : 224
qca955x_GMAC: Mac capability flags : 2042200
955x_GMAC: Serdes PLL is locked value 0x18818116
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/brctl: 1: Syntax error: word unexpected (expecting ")")
/sbin/ifconfig: 1: Syntax error: word unexpected (expecting ")")
usbcore: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 32 BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/usbcore.ko': Invalid module forma t (-1): Exec format error
ehci_hcd: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 3 2BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/ehci-hcd.ko': Invalid module form at (-1): Exec format error
usb_storage: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32 BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R 2 32BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/usb-storage.ko': Invalid module f ormat (-1): Exec format error
usbnet: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BIT ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 32B IT '
insmod: cannot insert `/lib/modules/2.6.31/usb/usbnet.ko': Invalid module format (-1): Exec format error
cdc_ether: version magic '2.6.31--LSDK-10.2.r2-00013-4 mod_unload MIPS32_R2 32BI T ' should be '2.6.31--LSDK-10.2.r2-00013-4-g38c940f-dirty mod_unload MIPS32_R2 32BIT '
insmod: cannot insert `/lib/modules/2.6.31/usb/cdc_ether.ko': Invalid module for mat (-1): Exec format error
athstats
80211stats
wlanconfig
pktlogconf
pktlogdump
radartool
thanks.