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
- after a hundred additional compilations with various settings trying to see if kernel configuration settings could fix the panic, i at least managed to get the clock source timer working (likely due to The Crispy One's patch here: https://github.com/lede-project/source/blob/master/target/linux/ramips/patches-4.9/101-mt7621-timer.patch).
- i am still working on the device tree binary, and have successfully appended it to the kernel, but it is still not getting picked up by the kernel. i am going to investigate if there is a way to make the processor boot in a generic mode where the device drivers aren't necessary for initialisation.
- i've been told that kexec is very handy for this purpose (minimal boot, followed by 'full' boot--also called "bootstrapping"), but given the interplay between mt7621.c and the node definitions for the mt7621 soc, i am not certain whether it will be possible for the mt7621 to appear as a 'generic' SoC in absence of the drivers. the sercomm-ified u-boot may be what i need to focus on.
- the (unfruitful, in the grand scheme of things) boot log below is when i commented out the contents of "of_remap" in mt7621.c (https://git.linux-mips.org/cgit/ralf/linux.git/tree/arch/mips/ralink/mt7621.c lines 159,160) to see what happens when the device tree nodes aren't called at boot.
- hat tip to abelloni in #buildroot today for taking some time to school me on how to append the dtb files to the kernel!
- #mipslinux#mipslinux#mipslinux#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: 1901227 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) ) #201 SMP Mon Aug 28 19:18:07 MDT 2017
- SoC Type: MediaTek MT7621 ver:1 eco:3
- bootconsole [early0] enabled
- CPU0 revision is: 0001992f (MIPS 1004Kc)
- 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]
- OF: fdt:No valid device tree found, continuing without
- percpu: Embedded 13 pages/cpu @818bb000 s23088 r8192 d21968 u53248
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
- Kernel command line: 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=00000071
- Readback ErrCtl register=00000071
- Memory: 236364K/262144K available (4533K kernel code, 259K rwdata, 628K rodata, 1288K init, 139K bss, 25780K reserved, 0K cma-reserved, 0K highmem)
- Hierarchical RCU implementation.
- Build-time adjustment of leaf fanout to 32.
- NR_IRQS:256
- clocksource_probe: no matching clocksources found
- 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...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement