Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 https://pastebin.com/gyzLGKEs first successful mips32 compile
- 2 https://pastebin.com/nHzYRDps copied over missing libc files/tidied up (missed copying c++ over in this one)
- 3 https://pastebin.com/AzFHxnPD libqmi (glib 2.52 and util-linux 2.29 upgraded as well)
- 4 https://pastebin.com/Cyh8eivj minidlna update
- 5 https://pastebin.com/L9w8arvC gudev added
- 6 https://pastebin.com/h2xFLf2V php7 updates etc
- 7 https://pastebin.com/bHPpZrRx updated ar71xx for 4.9 (also did it for ar934x platform ["wasp"--mips74k])
- 8 https://pastebin.com/zsdTjjKQ status update on the firmware (not really exclusive to the AC55U, just packing it using mkimage vs lzma-loader etc).
- 9 https://pastebin.com/qNMiWkD9 failure of AC55U due to sensitive MTD flash partitioning (likely due to shoe-horning of AR7134 devicetree file for QCA9558)
- 10 https://pastebin.com/1BPUmMzx just an update to glibc 2.29 and using the latest 4.9 committed by brainslayer to ensure we're all on teh same page.
- 11 https://pastebin.com/9jrT1gkP raw bootlog from the r6700v2/r6800/r6900v2. included so people can observe how the u-boot and "stage code seem to be "together"; that is, the u-boot seems to be customised to deal with the sercomm utilities (no mtdparts, but there is an sc_nand).
- 12 https://pastebin.com/TJHeu9VC discussing the sercomm boot tools and such.
- 13 https://pastebin.com/uadhgmvS just showing the boot log (without initramfs enabled).
- 14 https://pastebin.com/jNmY4y9D was just sharing the observation about initrd that wasn't really useful to the problem
- 15 https://pastebin.com/EUeDuLHZ briefly discussing the boot and problem with the dtb (device tree binary) not being "seen" by the kernel
- 16 https://pastebin.com/K7yuBYfv just a nothingness update (talking about clocksource driver being picked up when disabling the devicetree node calls in mt7621.c)
- greetings,
- below i present a mostly-functional boot log that was only achievable thanks (again), to, The Crispy One (John Crispin, aka blogic), and Giueseppe Lippolis who asked some very relevant questions as to how the DTB is called by mips router distros (https://bugs.lede-project.org/index.php?do=details&task_id=192).
- i obviously have to fix some things (see nand driver issue below?), but i am extremely excited about this!!!
- #mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux
- ETH_STATE_ACTIVE!!
- NMRP_FLASH_SIZE_buffer --> 03000000.
- NMRP:LISTENING
- ### No NMRP Server found ###
- check upgrade flag
- read flag 05400000
- ## Booting image at bc200000 ...
- Image Name: Linux Kernel Image
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 1904922 Bytes = 1.8 MB
- Load Address: 81001000
- Entry Point: 8100ef80
- .............................. Verifying Checksum ... OK
- Uncompressing Kernel Image ... OK
- No initrd
- ## Transferring control to Linux (at address 8100ef80) ...
- ## Giving linux memsize in MB, 256
- Starting kernel ...
- Linux version 4.9.44 (Gagan@GagansMacPro) (gcc version 7.2.0 (GCC) ) #213 SMP Tue Aug 29 12:59:59 MDT 2017
- SoC Type: MediaTek MT7621 ver:1 eco:3
- bootconsole [early0] enabled
- CPU0 revision is: 0001992f (MIPS 1004Kc)
- MIPS: machine is Mediatek MT7621
- Determined physical RAM map:
- memory: 10000000 @ 00000000 (usable)
- Initrd not found or empty - disabling initrd
- VPE topology {2,2} total 4
- Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- Zone ranges:
- Normal [mem 0x0000000000000000-0x000000000fffffff]
- HighMem empty
- Movable zone start for each node
- Early memory node ranges
- node 0: [mem 0x0000000000000000-0x000000000fffffff]
- Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
- percpu: Embedded 13 pages/cpu @817c5000 s23376 r8192 d21680 u53248
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
- Kernel command line: console=ttyS0,57600 console=ttyS0,57600n8 rootfstype=squashfs
- log_buf_len individual max cpu contribution: 4096 bytes
- log_buf_len total cpu_extra contributions: 12288 bytes
- log_buf_len min size: 16384 bytes
- log_buf_len: 32768 bytes
- early log buf free: 14296(87%)
- PID hash table entries: 1024 (order: 0, 4096 bytes)
- Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
- Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
- Writing ErrCtl register=000000f0
- Readback ErrCtl register=000000f0
- Memory: 237348K/262144K available (4543K kernel code, 261K rwdata, 632K rodata, 248K init, 139K bss, 24796K reserved, 0K cma-reserved, 0K highmem)
- Hierarchical RCU implementation.
- Build-time adjustment of leaf fanout to 32.
- NR_IRQS:256
- clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
- clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
- sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
- Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
- pid_max: default: 4096 minimum: 301
- Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- Performance counters: mips/1004K PMU enabled, 2 32-bit counters available to each CPU, irq 17
- Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- CPU1 revision is: 0001992f (MIPS 1004Kc)
- Synchronize counters for CPU 1:
- done.
- Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- CPU2 revision is: 0001992f (MIPS 1004Kc)
- Synchronize counters for CPU 2:
- done.
- Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- CPU3 revision is: 0001992f (MIPS 1004Kc)
- Synchronize counters for CPU 3:
- done.
- Brought up 4 CPUs
- devtmpfs: initialized
- clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- pinctrl core: initialized pinctrl subsystem
- NET: Registered protocol family 16
- Can't analyze schedule() prologue at 81011348
- mt7621_gpio 1e000600.gpio: registering 32 gpios
- mt7621_gpio 1e000600.gpio: registering 32 gpios
- mt7621_gpio 1e000600.gpio: registering 32 gpios
- vgaarb: loaded
- SCSI subsystem initialized
- clocksource: Switched to clocksource GIC
- NET: Registered protocol family 2
- TCP established hash table entries: 2048 (order: 1, 8192 bytes)
- TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
- TCP: Hash tables configured (established 2048 bind 2048)
- UDP hash table entries: 128 (order: 0, 4096 bytes)
- UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
- NET: Registered protocol family 1
- 4 CPUs re-calibrate udelay(lpj = 2924544)
- workingset: timestamp_bits=30 max_order=16 bucket_order=0
- squashfs: version 4.0 (2009/01/31) Phillip Lougher
- fuse init (API version 7.26)
- io scheduler noop registered
- io scheduler deadline registered (default)
- random: fast init done
- serial8250_init
- Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
- console [ttyS0] disabled
- 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
- console [ttyS0] enabled
- console [ttyS0] enabled
- bootconsole [early0] disabled
- bootconsole [early0] disabled
- Ralink gpio driver initialized
- MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
- Allocate 16 byte aligned buffer: 815a9600
- Enable NFI Clock
- # MTK NAND # : Use HW ECC
- Device found in MTK table, ID: c2f1, EXT_ID: 809502
- Support this Device in MTK table! c2f1
- [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
- nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
- nand: Macronix NAND 128MiB 3,3V 8-bit
- nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
- Scanning device for bad blocks
- Bad eraseblock 640 at 0x000005000000
- Bad eraseblock 641 at 0x000005020000
- Bad eraseblock 642 at 0x000005040000
- Bad eraseblock 643 at 0x000005060000
- Bad eraseblock 644 at 0x000005080000
- Bad eraseblock 645 at 0x0000050a0000
- Bad eraseblock 646 at 0x0000050c0000
- Bad eraseblock 647 at 0x0000050e0000
- Bad eraseblock 648 at 0x000005100000
- Bad eraseblock 649 at 0x000005120000
- Bad eraseblock 650 at 0x000005140000
- Bad eraseblock 651 at 0x000005160000
- Bad eraseblock 652 at 0x000005180000
- Bad eraseblock 653 at 0x0000051a0000
- Bad eraseblock 654 at 0x0000051c0000
- Bad eraseblock 655 at 0x0000051e0000
- Bad eraseblock 656 at 0x000005200000
- Bad eraseblock 657 at 0x000005220000
- Bad eraseblock 658 at 0x000005240000
- Bad eraseblock 659 at 0x000005260000
- Bad eraseblock 660 at 0x000005280000
- Bad eraseblock 661 at 0x0000052a0000
- Bad eraseblock 662 at 0x0000052c0000
- Bad eraseblock 663 at 0x0000052e0000
- 29 ofpart partitions found on MTD device MT7621-NAND
- Creating 29 MTD partitions on "MT7621-NAND":
- 0x000000000000-0x000000100000 : "boot"
- 0x000000100000-0x000000200000 : "part_map"
- 0x000000200000-0x000000600000 : "kernel"
- 0x000000600000-0x000002e00000 : "rootfs"
- mtd: partition "rootfs" set to be root filesystem
- magic 73717368 vs 73717368
- mtd: partition "ddwrt" created automatically, ofs=21C0000, len=C40000
- 0x0000021c0000-0x000002e00000 : "ddwrt"
- 0x000002e00000-0x000003000000 : "english_ui"
- 0x000003000000-0x000003200000 : "ml1"
- 0x000003200000-0x000003400000 : "ml2"
- 0x000003400000-0x000003600000 : "ml3"
- 0x000003600000-0x000003800000 : "ml4"
- 0x000003800000-0x000003a00000 : "ml5"
- 0x000003a00000-0x000003c00000 : "ml6"
- 0x000003c00000-0x000003e00000 : "ml7"
- 0x000003e00000-0x000004000000 : "ml8"
- 0x000004000000-0x000004200000 : "ml9"
- 0x000004200000-0x000004400000 : "ml10"
- 0x000004400000-0x000004600000 : "ml11"
- 0x000004600000-0x000004800000 : "factory"
- 0x000004800000-0x000004a00000 : "sc_private"
- 0x000004a00000-0x000004c00000 : "pop"
- 0x000004c00000-0x000004e00000 : "traffic meter"
- 0x000004e00000-0x000005000000 : "sc_pid"
- 0x000005000000-0x000005200000 : "sc_nvram"
- 0x000005200000-0x000005400000 : "ralink_nvram"
- 0x000005400000-0x000005600000 : "reserved1"
- 0x000005600000-0x000005800000 : "reserved2"
- 0x000005800000-0x000005a00000 : "reserved3"
- 0x000005a00000-0x000005c00000 : "reserved4"
- 0x000005c00000-0x000005e00000 : "reserved5"
- 0x000005e00000-0x000007f80000 : "reserved6"
- [mtk_nand] probe successfully!
- Signature matched and data read!
- load_fact_bbt success 1023
- libphy: Fixed MDIO Bus: probed
- tun: Universal TUN/TAP device driver, 1.6
- tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
- netif_napi_add() called with weight 128 on device eth%d
- mtk_soc_eth 1e100000.ethernet: generated random MAC address 12:15:52:91:d8:a4
- libphy: mdio: probed
- mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
- mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
- u32 classifier
- Performance counters on
- Actions configured
- Netfilter messages via NETLINK v0.30.
- nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
- ctnetlink v0.93: registering with nfnetlink.
- ipip: IPv4 and MPLS over IPv4 tunneling driver
- ip_tables: (C) 2000-2006 Netfilter Core Team
- ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
- NET: Registered protocol family 17
- Bridge firewalling registered
- 8021q: 802.1Q VLAN Support v1.8
- List of all partitions:
- 1f00 1024 mtdblock0 (driver?)
- 1f01 1024 mtdblock1 (driver?)
- 1f02 4096 mtdblock2 (driver?)
- 1f03 40960 mtdblock3 (driver?)
- 1f04 12544 mtdblock4 (driver?)
- 1f05 2048 mtdblock5 (driver?)
- 1f06 2048 mtdblock6 (driver?)
- 1f07 2048 mtdblock7 (driver?)
- 1f08 2048 mtdblock8 (driver?)
- 1f09 2048 mtdblock9 (driver?)
- 1f0a 2048 mtdblock10 (driver?)
- 1f0b 2048 mtdblock11 (driver?)
- 1f0c 2048 mtdblock12 (driver?)
- 1f0d 2048 mtdblock13 (driver?)
- 1f0e 2048 mtdblock14 (driver?)
- 1f0f 2048 mtdblock15 (driver?)
- 1f10 2048 mtdblock16 (driver?)
- 1f11 2048 mtdblock17 (driver?)
- 1f12 2048 mtdblock18 (driver?)
- 1f13 2048 mtdblock19 (driver?)
- 1f14 2048 mtdblock20 (driver?)
- 1f15 2048 mtdblock21 (driver?)
- 1f16 2048 mtdblock22 (driver?)
- 1f17 2048 mtdblock23 (driver?)
- 1f18 2048 mtdblock24 (driver?)
- 1f19 2048 mtdblock25 (driver?)
- 1f1a 2048 mtdblock26 (driver?)
- 1f1b 2048 mtdblock27 (driver?)
- 1f1c 2048 mtdblock28 (driver?)
- 1f1d 34304 mtdblock29 (driver?)
- No filesystem could mount root, tried: squashfs
- Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
- Rebooting in 1 seconds..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement