I had a problem when openwrt(chaos_calmer) was running no MT7628 board

I had a problem when openwrt(chaos_calmer) was running no MT7628 board

Log:

## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 3.18.29 (fan@FAN-THINK-PC) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49396) ) #1 Fri Jul 7 21:14:56 CST 2023
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is Mediatek MT7628AN evaluation board
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=000198f0
[    0.000000] Readback ErrCtl register=000198f0
[    0.000000] Memory: 126336K/131072K available (2513K kernel code, 126K rwdata, 516K rodata, 164K init, 186K bss, 4736K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 575MHz
[    0.000000] clocksource_of_init: no matching clocksources found
[    0.000000] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] pinctrl core: initialized pinctrl subsystem
[    0.080000] NET: Registered protocol family 16
[    0.100000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.110000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.110000] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.120000] Switched to clocksource MIPS
[    0.120000] NET: Registered protocol family 2
[    0.130000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.130000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.150000] TCP: reno registered
[    0.150000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.160000] NET: Registered protocol family 1
[    0.170000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.180000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.190000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.200000] msgmni has been set to 246
[    0.210000] io scheduler noop registered
[    0.220000] io scheduler deadline registered (default)
[    0.220000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[336]
[    0.230000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[350]
[    0.240000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.240000] console [ttyS0] disabled
[    0.250000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.260000] console [ttyS0] enabled
[    0.260000] console [ttyS0] enabled
[    0.260000] bootconsole [early0] disabled
[    0.260000] bootconsole [early0] disabled
[    0.270000] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[    0.280000] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
[    0.290000] spi-mt7621 10000b00.spi: sys_freq: 191666666
[    0.300000] m25p80 spi32766.0: found en25qh128, expected en25q64
[    0.310000] m25p80 spi32766.0: en25qh128 (16384 Kbytes)
[    0.310000] m25p80 spi32766.0: using chunked io
[    0.320000] 4 ofpart partitions found on MTD device spi32766.0
[    0.320000] Creating 4 MTD partitions on "spi32766.0":
[    0.330000] 0x000000000000-0x000000030000 : "u-boot"
[    0.340000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.340000] 0x000000040000-0x000000050000 : "factory"
[    0.350000] 0x000000050000-0x000001000000 : "firmware"
[    0.410000] 2 uimage-fw partitions found on MTD device firmware
[    0.420000] 0x000000050000-0x00000016601d : "kernel"
[    0.430000] 0x00000016601d-0x000001000000 : "rootfs"
[    0.430000] mtd: device 5 (rootfs) set to be root filesystem
[    0.440000] 1 squashfs-split partitions found on MTD device rootfs
[    0.450000] 0x000000560000-0x000001000000 : "rootfs_data"
[    0.460000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.470000] mt7621_wdt 10000120.watchdog: Initialized
[    0.480000] TCP: cubic registered
[    0.480000] NET: Registered protocol family 17
[    0.480000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.510000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.520000] Freeing unused kernel memory: 164K (80317000 - 80340000)
/etc/preinit: exec: line 5: /sbin/init: not found
[    1.690000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[    1.690000]
[    1.690000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[    1.690000]
[   82.530000] random: nonblocking pool is initialized
.....

Could you tell me how to do do for it when I build openwrt ?

This version is extremely old and is entirely unsupported. It has been EOL for many years and should not be used anymore due to many security vulnerabilities.

What device are you using?

1 Like

Thank you for your repley !

We use the device is MT7628.

Are you using the MT7628 eval board? If so, you should install the current stable release of OpenWrt.
https://firmware-selector.openwrt.org/?version=22.03.5&target=ramips%2Fmt76x8&id=mediatek_mt7628an-eval-board

If not, are there other identifiers to indicate who makes the device and the specific model?

1 Like

Thank you for your repley !
We are using the MT7628 board that made by ourself. It was runned with openwrt(CC) OK , but I build a new openwrt(CC) sourse code .[I had a problem when openwrt(chaos_calmer) was running on the MT7628 board

It sounds like you are a company making a commercial product?

Anyway, chaos calmer is from 2015 and has been totally eol and unsupported for probably about 7 years or so. You should not be using such an old version anymore - your best bet is to start with an up to date source code and modify as necessary for your device.

You probably won’t get any help here because of how long ago chaos calmer went eol. Most people probably don’t remember the nuances of such an old version (let alone the details for building it). But you ever know.

3 Likes

Thank you for your reply!
Yes , We make a commercial product and used openwrt(CC) all the time.
I will get it by my ourself.

Yeah. You should probably be prepared to pay for assistance if you are unable to resolve the issue on you own. And, it is really important to migrate to a modern version or your customers may be at risk due to the many security vulnerabilities present in old versions.

4 Likes