- Hit any key to stop autoboot: 0
- ar7240>
- ar7240>
- ar7240>
- ar7240> print
- bootdelay=1
- baudrate=115200
- ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
- dir=
- lu=tftp 0x80060000 ${dir}2fw.bin&&nand erase 0x0 0x40000&&nand write $fileaddr 0x0 $filesize
- lf=tftp 0x80060000 ${dir}openwrt-db12x-2.6.31-generic-nand-root.bin&&nand erase 0x280000 0x5000000&&nand write $fileaddr 0x280000 $filesize
- lk=tftp 0x80060000 ${dir}openwrt-db12x-2.6.31-generic-uImage-lzma.bin&&nand erase 0x80000 0x200000&&nand write $fileaddr 0x80000 $filesize
- backup_flag=1
- /com/icontrol/config.bootloaderRevision=1.1.9
- /com/icontrol/config.serial=319464NU05866
- HW_REV=2
- /com/icontrol/security.activationKey=D319464NU058667H53EA
- /com/icontrol/config.sku=PGZNG1-1ADNAS
- FTM=0
- /com/icontrol/config.tz=PST8PDT
- /com/icontrol/networking.ssid=461798afbf40634fa33ce149a5cf5655
- /com/icontrol/networking.key=6fdcabee73fd067fadc1ac402e20fd91
- ethact=eth0
- filesize=252a79
- fileaddr=80060000
- ipaddr=192.168.1.1
- serverip=192.168.1.10
- console=ttyS0,115200
- bootargs=rootfstype=squashfs init=/bin/sh mtdparts=ath-nand:256k(u-boot),256k(u-boot-env),2m(uImage),80m(rootfs),2m(uImage2),80m(rootfs_bak),20m(config),71m(storage),384k(dummy),128k(caldata)
- firmware_status=01
- active_image=1
- root=31:05
- rootfs1_name=rootfs_bak
- rootfs2_name=rootfs
- console_mode=1
- kernel_offset=0x80000
- bootcmd=nand read 0x81000000 0x80000 0x00400000 && bootm 0x81000000
- stdin=serial
- stdout=serial
- stderr=serial
- Environment size: 1349/262140 bytes
- ar7240> tftp 0x81000000 openwrt-ath79-nand-netgear_pgzng1-1adnas-squashfs-factory.bin && nand erase 0x80000 $filesize && nand write $fileaddr 0x80000 $filesize && nand read 0x81000000 0x80000 0x00400000 && bootm 0x81000000
- Trying eth0
- dup 1 speed 100
- Using eth0 device
- TFTP from server 192.168.1.10; our IP address is 192.168.1.1
- Filename 'openwrt-ath79-nand-netgear_pgzng1-1adnas-squashfs-factory.bin'.
- Load address: 0x81000000
- Loading: #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #####################################################
- done
- Bytes transferred = 11914998 (b5cef6 hex)
- NAND erase: device 0 offset 0x80000, size 0xb5cef6 ath_nand_erase: 0x80000 91
- 90Skipped 0 bad blocks
- OK
- NAND write: device 0 offset 0x80000, size 11914998 ... 11914998 bytes written: OK
- NAND read: device 0 offset 0x80000, size 4194304 ... 4194304 bytes read: OK
- ## Booting image at 81000000 ...
- Image Name: MIPS OpenWrt Linux-5.10.115
- Created: 2022-05-31 15:35:30 UTC
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 2435630 Bytes = 2.3 MB
- Load Address: 80060000
- Entry Point: 80060000
- Verifying Checksum at 0x81000040 ...OK
- Uncompressing Kernel Image ... OK
- No initrd
- ## Transferring control to Linux (at address 80060000) ...
- ## Giving linux memsize in bytes, 268435456
- Starting kernel ...
- [ 0.000000] Linux version 5.10.115 (root@linups) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19689+1-19ef3b54f4) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Tue May 31 15:35:30 2022
- [ 0.000000] printk: bootconsole [early0] enabled
- [ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
- [ 0.000000] MIPS: machine is Netgear PGZNG1-1ADNAS
- [ 0.000000] SoC: Atheros AR9344 rev 3
- [ 0.000000] Initrd not found or empty - disabling initrd
- [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
- [ 0.000000] Zone ranges:
- [ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
- [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
- [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
- [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
- [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
- [ 0.000000] Writing ErrCtl register=00000000
- [ 0.000000] Readback ErrCtl register=00000000
- [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
- [ 0.000000] Memory: 250344K/262144K available (5972K kernel code, 587K rwdata, 1256K rodata, 1200K init, 206K bss, 11800K reserved, 0K cma-reserved)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] NR_IRQS: 51
- [ 0.000000] random: get_random_bytes called from start_kernel+0x3c0/0x5b0 with crng_init=0
- [ 0.000000] CPU clock: 560.000 MHz
- [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
- [ 0.000010] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
- [ 0.008319] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
- [ 0.084935] pid_max: default: 32768 minimum: 301
- [ 0.090025] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
- [ 0.097820] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
- [ 0.108148] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
- [ 0.119322] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.129839] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
- [ 0.137197] pinctrl core: initialized pinctrl subsystem
- [ 0.143840] NET: Registered protocol family 16
- [ 0.204418] clocksource: Switched to clocksource MIPS
- [ 0.211057] NET: Registered protocol family 2
- [ 0.215984] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
- [ 0.224570] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
- [ 0.233519] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
- [ 0.241739] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
- [ 0.249279] TCP: Hash tables configured (established 2048 bind 2048)
- [ 0.256201] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
- [ 0.263180] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
- [ 0.270913] NET: Registered protocol family 1
- [ 0.275629] PCI: CLS 0 bytes, default 32
- [ 0.289675] workingset: timestamp_bits=14 max_order=16 bucket_order=2
- [ 0.301254] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 0.307517] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 0.322352] pinctrl-single 1804002c.pinmux: 544 pins, size 68
- [ 0.329536] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
- [ 0.337151] printk: console [ttyS0] disabled
- [ 0.341790] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
- [ 0.351041] printk: console [ttyS0] enabled
- [ 0.351041] printk: console [ttyS0] enabled
- [ 0.359955] printk: bootconsole [early0] disabled
- [ 0.359955] printk: bootconsole [early0] disabled
- [ 0.381615] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
- [ 0.388118] nand: Hynix NAND 256MiB 3,3V 8-bit
- [ 0.392634] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
- [ 0.400515] Scanning device for bad blocks
- [ 0.409418] random: fast init done
- [ 0.593453] 10 fixed-partitions partitions found on MTD device ar934x-nand
- [ 0.600455] Creating 10 MTD partitions on "ar934x-nand":
- [ 0.605868] 0x000000000000-0x000000040000 : "u-boot"
- [ 0.611942] 0x000000040000-0x000000080000 : "u-boot-env"
- [ 0.620083] 0x000000080000-0x000000480000 : "firmware"
- [ 0.636157] 0x000000480000-0x000005280000 : "rootfs"
- [ 0.642511] mtd: device 3 (rootfs) set to be root filesystem
- [ 0.649339] 1 squashfs-split partitions found on MTD device rootfs
- [ 0.655683] 0x000000800000-0x000005280000 : "rootfs_data"
- [ 0.662465] 0x000005280000-0x000005480000 : "uImage2"
- [ 0.683381] 0x000005480000-0x00000a480000 : "rootfs_bak"
- [ 0.690316] 0x00000a480000-0x00000b880000 : "config"
- [ 0.698207] 0x00000b880000-0x00000ff80000 : "storage"
- [ 0.704795] 0x00000ff80000-0x00000ffe0000 : "dummy"
- [ 0.712427] 0x00000ffe0000-0x000010000000 : "caldata"
- [ 1.075522] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
- [ 1.767192] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
- [ 1.824281] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
- [ 1.834114] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
- [ 1.842006] NET: Registered protocol family 10
- [ 1.852557] Segment Routing with IPv6
- [ 1.856472] NET: Registered protocol family 17
- [ 1.861076] 8021q: 802.1Q VLAN Support v1.8
- [ 1.869608] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
- [ 1.875894] MEM 0x0000000010000000..0x0000000013ffffff
- [ 1.881202] IO 0x0000000000000000..0x0000000000000000
- [ 1.886528] ar724x-pci 180c0000.pcie-controller: PCIe link is down
- [ 1.892997] PCI host bridge to bus 0000:00
- [ 1.897206] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
- [ 1.904184] pci_bus 0000:00: root bus resource [io 0x0000]
- [ 1.909873] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
- [ 1.916775] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
- [ 1.925757] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
- [ 2.266343] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:00 [uid=004dd042, driver=Generic PHY]
- [ 2.276606] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
- [ 2.288845] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
- [ 2.301920] Freeing unused kernel memory: 1200K
- [ 2.306555] This architecture does not have kernel memory protection.
- [ 2.313103] Run /sbin/init as init process
- [ 2.896250] init: Console is alive
- [ 2.900222] init: - watchdog -
- [ 3.802234] kmodloader: loading kernel modules from /etc/modules-boot.d/*
- [ 3.904127] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
- [ 3.922065] init: - preinit -
- [ 5.300169] random: jshn: uninitialized urandom read (4 bytes read)
- [ 5.499681] random: jshn: uninitialized urandom read (4 bytes read)
- [ 5.551603] random: jshn: uninitialized urandom read (4 bytes read)
- [ 5.813711] eth0: link up (1000Mbps/Full duplex)
- [ 5.824565] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- Press the [f] key and hit [enter] to enter failsafe mode
- Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
- [ 10.170713] mount_root: no usable overlay filesystem found, using tmpfs overlay
- [ 10.182918] urandom-seed: Seed file not found (/etc/urandom.seed)
- [ 10.388023] eth0: link down
- [ 10.405632] procd: - early -
- [ 10.408963] procd: - watchdog -
- [ 11.123660] procd: - watchdog -
- [ 11.127583] procd: - ubus -
- [ 11.220299] urandom_read: 4 callbacks suppressed
- [ 11.220309] random: ubusd: uninitialized urandom read (4 bytes read)
- [ 11.234841] random: ubusd: uninitialized urandom read (4 bytes read)
- [ 11.241898] random: ubusd: uninitialized urandom read (4 bytes read)
- [ 11.255887] procd: - init -
- Please press Enter to activate this console.
- [ 12.499202] kmodloader: loading kernel modules from /etc/modules.d/*
- [ 13.003677] urngd: v1.0.2 started.
- [ 13.108827] Loading modules backported from Linux version v5.15.33-0-g06f50ca83ace
- [ 13.116580] Backport generated by backports.git v5.15.33-1-0-g183c4ab2
- [ 13.358992] random: crng init done
- [ 13.580314] PPP generic driver version 2.4.2
- [ 13.596823] NET: Registered protocol family 24
- [ 13.725327] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=12
- [ 13.762335] kmodloader: done loading kernel modules from /etc/modules.d/*
- root@OpenWrt:/# mount
- /dev/root on /rom type squashfs (ro,relatime)
- proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
- sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
- cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
- tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
- tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
- overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
- tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
- devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
- debugfs on /sys/kernel/debug type debugfs (rw,noatime)
- none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
- root@OpenWrt:/# [ 97.155430] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000008c: 0xc36b instead
- [ 97.221821] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000138: 0xc36b instead
- [ 97.264571] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000001e4: 0xc36b instead
- [ 97.274208] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000290: 0xc36b instead
- [ 97.320957] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000033c: 0xc36b instead
- [ 97.354575] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000003e8: 0xc36b instead
- [ 97.364214] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000494: 0xc36b instead
- [ 97.414583] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000540: 0xc36b instead
- [ 97.424221] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000005ec: 0xc36b instead
- [ 97.454575] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000698: 0xc36b instead
- [ 97.464205] jffs2: Further such events for this erase block will not be printed
- [ 97.518984] jffs2: Empty flash at 0x000034f8 ends at 0x0000cef4
- [ 97.555460] jffs2: Empty flash at 0x0000cf38 ends at 0x0000d6f4
- [ 97.594397] jffs2: Empty flash at 0x0000d738 ends at 0x0000def4
- [ 97.630429] jffs2: Empty flash at 0x000134f8 ends at 0x0001cef4
- [ 97.647248] jffs2: Empty flash at 0x0001cf38 ends at 0x0001d6f4
- [ 97.666297] jffs2: Empty flash at 0x0001d738 ends at 0x0001def4
- [ 97.685926] jffs2: Empty flash at 0x0001df30 ends at 0x0001df34
- [ 97.705282] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x22ea instead
- [ 97.724884] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x6e57 instead
- [ 97.746689] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xb617 instead
- [ 97.764874] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x6a65 instead
- [ 97.784884] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x0407 instead
- [ 97.804886] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0xc7dd instead
- [ 97.824953] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x5166 instead
- [ 97.844885] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x9332 instead
- [ 97.864886] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x8830 instead
- [ 97.884910] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x378a instead
- [ 97.894567] jffs2: Further such events for this erase block will not be printed
- [ 97.967284] jffs2: Empty flash at 0x0002cf38 ends at 0x0002d6f4
- [ 97.997174] jffs2: Empty flash at 0x0002d738 ends at 0x0002def4
- [ 98.003584] jffs2: Old JFFS2 bitmask found at 0x0002f9c4
- [ 98.009030] jffs2: You cannot use older JFFS2 filesystems with newer kernels
- [ 98.044824] jffs2: Empty flash at 0x0003cf38 ends at 0x0003d6f4
- [ 98.065987] jffs2: Empty flash at 0x0003d738 ends at 0x0003def4
- [ 98.085324] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xac33 instead
- [ 98.104893] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0xaf02 instead
- [ 98.124931] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x7c63 instead
- [ 98.144900] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x425d instead
- [ 98.164894] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x20a0 instead
- [ 98.184907] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0xf9bc instead