Jump to content

ShaRose

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Wouldn't really matter since I was able to compile the DTB from the gpl sources though, would it?
  2. I don't really know anything about embedded stuff, so I figured it was worth a shot. Considering it was coming from a tarred device tree, probably not, but here. <stdout>: Warning (unit_address_vs_reg): Node /soc has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /rtk_iso_gpio@98007100/scdc_rr@98007200 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /dwc3_u3host_usb2phy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /dwc3_u3host_usb3phy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /timer0@9801b000 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /ramoops@10014000 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /rtk_dwc3_drd@98013200/rtk_dwc3_drd_type_c has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /rfkilligpio@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /usb_phy_rle0599 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_bus_h has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_vodma has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_acpu has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_ddsa has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_ddsb has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_scpu has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_bus has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_gpu has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_ve1 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/pll_ve2 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/clk_vodma has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/clk_gpu has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/clk_sys has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/clk_ve1 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/clk_ve2 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /clocks/clk_ve3 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/ir@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/ir@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/rgmii@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/rgmii@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2c@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2c@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2c@2 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2c@3 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2c@4 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2c@5 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2c@6 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/spi@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/spi@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/tp0@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/tp0@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/tp1@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/tp1@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/etn_led@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/spdif@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/scpu_ejtag@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/scpu_ejtag@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/pwm0_0@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/pwm0_1@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/pwm3_0@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/pwm3_1@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/uart0@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/uart1@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/uart2@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/uart2@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/gspi@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2s_out@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/i2s_out@1 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/pcie@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/sdcard_low@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/pwm1@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/pwm2@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/sdio@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/dc_fan_sensor@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/sdcard_high@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /pinctrl@9801A000/acpu_ejtag@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_iso_mis has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_nat_wrap has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_mipi_aphy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_mhl3_en has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_cp has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_cr has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_md has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_se has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_tp has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_vo has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_disp_top has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_cecrx_aphy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_usb_p3_mac_A has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_gpu has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_mis has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_sb2 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_rsa has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_ve1 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_ve2 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_ve3 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_scpu_wrapper has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_emmc has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_gspi has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_jpeg has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_mipi has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_nand has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_sata has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_sdio has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_usb_p0_iso has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_usb_p0_mac has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_usb_p0_phy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_usb_p3_iso has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_usb_p3_phy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_hdmirx has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_jd_top has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_lsadc_top has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_cbus has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_sdio has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_iso_sata_p0 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_iso_sata_p1 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_cectx_aphy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_pcie1 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_pcie2 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_disp_core has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_usb_p0 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_usb_p1 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_usb_p2 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_l4_icg_usb_p3 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_adc has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_gpu has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_nat has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_rtc has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_ve1 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_ve2 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_ve3 has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_cr has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/pctrl_usb_p3_mac_ECO_B has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/dc0_pll has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power_control/dc1_pll has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /timer1@9801b000 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /resets/usb_rst has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /reserved-memory/ramoops_mem has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /mem_remap/rbus has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /mem_remap/ringbuf has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /mem_remap/common has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /dwc3_drd_usb2phy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /dwc3_drd_usb3phy has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /rtd1295-lsadc@0x98012800/rtd1295-lsadc1-pad0@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /rtd1295-lsadc@0x98012800/rtd1295-lsadc1-pad1@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /rtd1295-lsadc@0x98012800/rtd1295-lsadc0-pad0@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /rtd1295-lsadc@0x98012800/rtd1295-lsadc0-pad1@0 has a unit name, but no reg property <stdout>: Warning (unit_address_vs_reg): Node /rtk_usb_power_manager has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /power-management has a reg or ranges property, but no unit name <stdout>: Warning (unit_address_vs_reg): Node /dwc3_u2host_usb2phy has a reg or ranges property, but no unit name <stdout>: Warning (pci_bridge): Node /pcie2@9803B000 node name is not "pci" or "pcie" <stdout>: Warning (unit_address_format): Failed prerequisite 'pci_bridge' <stdout>: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' <stdout>: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' 24 partitions, 23 of them for the system, one for user data. I know any of the partitions that could mount didn't have it because one of the first things I did was run a for loop to mount every one into /mnt/wdcloud/part_xx, and then ran file / grep. If you mean with the same DTB, yes: The only difference (once you remove timestamps) is the trace ID at the end of the crash. The dtsi files weren't included in the vendor output, and even in the source area there weren't any for the wd_stuff. As for editing the 4.9 DTS files to match, I still don't know how to stop compile.sh from blowing away any changes I make, nor do I know how to just tell it to build the DTS files and nothing else (without cleaning anything).
  3. I found the wd-monarch-1GB.dts file, but I wasn't able to compile it: I'm assuming it has a bunch of preprocessor things to do during compilation, but the compile script wipes it away each time. Not really sure how I'd be able to compile it into a dtb. EDIT: Never mind, just realized I could just compile the WD kernel and grab the dtb files from that. Sadly, it still doesn't work, either for wd-monarch-1GB.dtb or wd-monarch-1GB.SATA.dtb. Maybe it needs to be built along with the kernel I'm actually using? Not really sure. I'll try a few other dtb files. EDIT 2: Ok, as somewhat expected, nothing works: but it seems the most correct one is wd-monarch-1gb.sata.dtb from checking the logs. wd-monarch-1gb.dtb had an additional error, which is kind of my baseline at this point. Here's the logs for that one (After it does usb scanning and stuff): reading boot/vmlinuz-4.9.181-rtd1295 Filesize: 8249990 bytes 8249990 bytes Size: 8249990, got: 8249990 8249990 bytes read (take 525ms) reading boot/dtb-4.9.181-rtd1295/realtek/rtd129x/wd-monarch-1gb.sata.dtb Filesize: 62123 bytes 62123 bytes Size: 62123, got: 62123 62123 bytes read (take 211ms) libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND Info: Try to add new node /factory... ***************************************** factory { bootstate = "3"; bna = "0"; nbr = "B"; cbr = "B"; ver = "4.1.4"; serial = "CENSORED"; ipaddr = "192.168.100.1"; ethaddr = "00:00:00:00:00:00"; }; ***************************************** EXPORT ENV AT 0x10000000, ENV size info:0x00002000,0x00001ffc,0x00000004 rtk_preload_bootimages_spi : header info 0x00000600 0x00067440 0x00010b00 0x00000000 0x00005040 0x00000000 0x00000000 0x00026360 0x00000000 rtk_preload_bootimages_spi : load U-Boot 64 from 0x8819de60 to 0x01500000 with size 0x00026360 rtk_preload_bootimages_spi : load BL31 from 0x88198e00 to 0x10120000 with size 0x00005040 copy_2nd_bootloader_and_run : src:0x01500000, dst:0x00021000, size:0x00028000 Jumping to 2nd bootloader... U-Boot 2015.07-g5a4a178-dirty (Jun 22 2016 - 11:33:46 +0800) CPU : Cortex-A53 Quad Core Board: Realtek QA Board [ERR] get_accessible_ddr_size: hw setting error. (impossible value 0x0) [ERR] Fall back to using CONFIG_SYS_RAM_DCU1_SIZE DRAM: 1 GiB mapping memory 0x20000000-0x40000000 non-cached In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 Unknown command 'usb' - try 'help' rtk_plat_set_fw not port yet, use default configs Not raw Image, Starting Decompress Image.gz... ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 reserving fdt memory region: addr=0 size=30000 reserving fdt memory region: addr=1f000 size=1000 reserving fdt memory region: addr=30000 size=d0000 reserving fdt memory region: addr=1b00000 size=400000 reserving fdt memory region: addr=1ffe000 size=4000 reserving fdt memory region: addr=10000000 size=14000 reserving fdt memory region: addr=2200000 size=400000 reserving fdt memory region: addr=3200000 size=b800000 reserving fdt memory region: addr=2600000 size=c00000 reserving fdt memory region: addr=11000000 size=3c00000 Using Device Tree in place at 0000000001f00000, end 0000000001f122aa Bring UP slave CPUs Starting Kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.181-rtd1295 (root@build-virtual-machine) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02) ) #1 SMP PREEMPT Thu Jun 20 20:31:22 NDT 2019 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] DT: logo_start_addr 0x0, size 0x0 [ 0.000000] DT: of_cma_info.region_enable 1 [ 0.000000] DT: saving_section_page_table 0 [ 0.000000] earlycon: uart8250 at MMIO32 0x0000000098007800 (options '') [ 0.000000] bootconsole [uart8250] enabled [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: fdt region 0 [ 0.000000] cma: size 0x0000000002000000, base 0x0000000020000000, fixed(1) [ 0.000000] cma: Reserved 32 MiB at 0x0000000020000000 [ 0.000000] missing or invalid resume-entry-addr property [ 0.000000] missing or invalid resume-entry-addr property [ 0.000000] missing or invalid resume-entry-addr property [ 0.000000] percpu: Embedded 22 pages/cpu s53144 r8192 d28776 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257536 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/mmcblk0p1 rootfs=ext4 init=/sbin/init [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Memory: 704360K/1046528K available (12540K kernel code, 1682K rwdata, 3612K rodata, 1152K init, 488K bss, 309400K reserved, 32768K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008280000 - 0xffffff8008ec0000 ( 12544 KB) [ 0.000000] .rodata : 0xffffff8008ec0000 - 0xffffff8009250000 ( 3648 KB) [ 0.000000] .init : 0xffffff8009250000 - 0xffffff8009370000 ( 1152 KB) [ 0.000000] .data : 0xffffff8009370000 - 0xffffff8009514a00 ( 1683 KB) [ 0.000000] .bss : 0xffffff8009514a00 - 0xffffff800958eb7c ( 489 KB) [ 0.000000] fixed : 0xffffffbefe7fb000 - 0xffffffbefec00000 ( 4116 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf01000000 ( 16 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 27.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns [ 0.000006] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns [ 0.009201] rmem_count: 1 [ 0.013124] [ 0.014798] rsvmem_remap 143, rmem->name ramoops_mem [ 0.021374] rsvmem_remap 147, no compatible prop [ 0.027954] Console: colour dummy device 80x25 [ 0.032992] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=108000) [ 0.044670] pid_max: default: 32768 minimum: 301 [ 0.050043] Security Framework initialized [ 0.054673] SELinux: Initializing. [ 0.058749] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.066316] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.075286] ftrace: allocating 40059 entries in 157 pages [ 0.199328] sched-energy: CPU device node has no sched-energy-costs [ 0.206445] Invalid sched_group_energy for CPU0 [ 0.211566] CPU0: update cpu_capacity 1024 [ 0.216203] ASID allocator initialised with 32768 entries [ 0.257861] EFI services will not be available. [ 0.271040] Brought up 1 CPUs [ 0.274382] SMP: Total of 1 processors activated. [ 0.279719] CPU features: detected feature: 32-bit EL0 Support [ 0.286310] CPU features: detected feature: Kernel page table isolation (KPTI) [ 0.297850] CPU: All CPU(s) started at EL2 [ 0.302498] alternatives: patching kernel code [ 0.307778] Invalid sched_group_energy for CPU0 [ 0.312905] CPU0: update max cpu_capacity 1024 [ 0.317926] Invalid sched_group_energy for Cluster0 [ 0.324207] devtmpfs: initialized [ 0.352378] DMI not present or invalid. [ 0.357186] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.368238] futex hash table entries: 256 (order: 3, 32768 bytes) [ 0.377289] pinctrl core: initialized pinctrl subsystem [ 0.385487] NET: Registered protocol family 16 [ 0.402737] cpuidle: using governor ladder [ 0.419434] cpuidle: using governor menu [ 0.424155] vdso: 2 pages (1 code @ ffffff8008ec7000, 1 data @ ffffff8009374000) [ 0.432519] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.441794] DMA: preallocated 256 KiB pool for atomic allocations [ 0.449380] rst-control : base ffffff800804b600, offset 0xb4 [ 0.455880] ****** rtk_lockapi_init 620, chip: id=0x00000000, revision=0x00010000 [ 0.471873] gpiochip_add_data: GPIOs 0..100 (rtk_misc_gpio) failed to register [ 0.480349] [drivers/gpio/gpio-rtd129x.c] rtk_gpio_probe line: 844 [ 0.493472] [GPIO] set_default_gpio: Could not get gpio from of [ 0.500234] [GPIO] set_default_gpio: Could not get gpio from of [ 0.507567] gpiochip_add_data: GPIOs 101..135 (rtk_iso_gpio) failed to register [ 0.515931] [drivers/gpio/gpio-rtd129x.c] rtk_gpio_probe line: 844 [ 0.525116] [GPIO] No default gpio need to set [ 0.540036] [RTK_SB2_DBG] Info 0x10000 [ 0.544457] [RTK_SB2_DBG] memory monitor 0x98013b00 - 0x98013c00 [ 0.551418] [RTK_SB2_DBG] initialized [ 0.668278] ACPI: Interpreter disabled. [ 0.673084] Unable to handle kernel NULL pointer dereference at virtual address 000000d4 [ 0.682335] [00000000000000d4] user address but active_mm is swapper [ 0.689550] Internal error: Oops: 96000045 [#1] PREEMPT SMP [ 0.695824] Modules linked in: [ 0.699268] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.181-rtd1295 #1 [ 0.706809] Hardware name: Realtek_RTD1295 (DT) [ 0.711909] task: ffffffc0222dcd80 task.stack: ffffffc0222e0000 [ 0.718581] PC is at acpu_set_flag+0x50/0xb0 [ 0.723388] LR is at acpu_set_flag+0x3c/0xb0 [ 0.728194] pc : [<ffffff8008762a70>] lr : [<ffffff8008762a5c>] pstate: 80000045 [ 0.736521] sp : ffffffc0222e3d00 [ 0.740249] x29: ffffffc0222e3d00 x28: ffffff8009324c90 [ 0.746234] x27: 0000000000000005 x26: ffffff80092be7b0 [ 0.752219] x25: ffffff8009518000 x24: ffffff8009250468 [ 0.758204] x23: ffffff8009242330 x22: ffffff800956c000 [ 0.764188] x21: 00000000000000d4 x20: 0000000000000000 [ 0.770171] x19: 0000000000000000 x18: 0000000000000000 [ 0.776154] x17: 0000000000000000 x16: 000000000000000e [ 0.782137] x15: ffffffffffffffff x14: ffffffffffffffff [ 0.788121] x13: ffffffffffffffff x12: 0000000000000008 [ 0.794104] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [ 0.800087] x9 : fefefefefefeff64 x8 : 7f7f7f7f7f7f7f7f [ 0.806072] x7 : 616e716f6e737460 x6 : 0080808080808080 [ 0.812054] x5 : 0000000000000000 x4 : ffffffffffffffff [ 0.818038] x3 : 0000000000000000 x2 : 00000000000000d4 [ 0.824020] x1 : 0000000000000200 x0 : 0000000000000000 [ 0.830004] [ 0.830004] SP: 0xffffffc0222e3c80: [ 0.835591] 3c80 0956c000 ffffff80 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 [ 0.844830] 3ca0 092be7b0 ffffff80 00000005 00000000 09324c90 ffffff80 222e3d00 ffffffc0 [ 0.854064] 3cc0 08762a5c ffffff80 222e3d00 ffffffc0 08762a70 ffffff80 80000045 00000000 [ 0.863298] 3ce0 222e3d00 ffffffc0 08762a4c ffffff80 ffffffff ffffffff 08762a5c ffffff80 [ 0.872533] 3d00 222e3d30 ffffffc0 0928a820 ffffff80 0928a7f0 ffffff80 090fa000 ffffff80 [ 0.881768] 3d20 0956c760 ffffff80 08678624 ffffff80 222e3dd0 ffffffc0 08283c3c ffffff80 [ 0.891001] 3d40 0928a7f0 ffffff80 00000000 00000000 222dcd80 ffffffc0 092be7d0 ffffff80 [ 0.900237] 3d60 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 092be7b0 ffffff80 [ 0.909491] [ 0.909491] X29: 0xffffffc0222e3c80: [ 0.915176] 3c80 0956c000 ffffff80 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 [ 0.924411] 3ca0 092be7b0 ffffff80 00000005 00000000 09324c90 ffffff80 222e3d00 ffffffc0 [ 0.933645] 3cc0 08762a5c ffffff80 222e3d00 ffffffc0 08762a70 ffffff80 80000045 00000000 [ 0.942881] 3ce0 222e3d00 ffffffc0 08762a4c ffffff80 ffffffff ffffffff 08762a5c ffffff80 [ 0.952114] 3d00 222e3d30 ffffffc0 0928a820 ffffff80 0928a7f0 ffffff80 090fa000 ffffff80 [ 0.961346] 3d20 0956c760 ffffff80 08678624 ffffff80 222e3dd0 ffffffc0 08283c3c ffffff80 [ 0.970583] 3d40 0928a7f0 ffffff80 00000000 00000000 222dcd80 ffffffc0 092be7d0 ffffff80 [ 0.979818] 3d60 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 092be7b0 ffffff80 [ 0.989053] [ 0.990726] Process swapper/0 (pid: 1, stack limit = 0xffffffc0222e0000) [ 0.998273] Stack: (0xffffffc0222e3d00 to 0xffffffc0222e4000) [ 1.004745] 3d00: ffffffc0222e3d30 ffffff800928a820 ffffff800928a7f0 ffffff80090fa000 [ 1.013565] 3d20: ffffff800956c760 ffffff8008678624 ffffffc0222e3dd0 ffffff8008283c3c [ 1.022385] 3d40: ffffff800928a7f0 0000000000000000 ffffffc0222dcd80 ffffff80092be7d0 [ 1.031206] 3d60: ffffff8009242330 ffffff8009250468 ffffff8009518000 ffffff80092be7b0 [ 1.040028] 3d80: 0000000000000005 ffffff8009324c90 ffffff80092890b4 0000000000000000 [ 1.048851] 3da0: ffffffc0222dcd80 ffffff80092be7d0 ffffff8009242330 ffffff8009250468 [ 1.057672] 3dc0: ffffffc0222e3dd0 ffffff8008283c3c ffffffc0222e3e40 ffffff8009250cec [ 1.066492] 3de0: 00000000000001aa ffffff8009518000 0000000000000004 ffffff80092be7b0 [ 1.075314] 3e00: 0000000000000000 ffffff8009324b80 ffffff80093913c8 0000000000000000 [ 1.084134] 3e20: 0000000000000000 ffffff80090a8d78 0000000400000004 ffffff80090a1058 [ 1.092956] 3e40: ffffffc0222e3ea0 ffffff8008eaced0 ffffff8008eaceb8 0000000000000000 [ 1.101776] 3e60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.110597] 3e80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.119417] 3ea0: 0000000000000000 ffffff8008283980 ffffff8008eaceb8 0000000000000000 [ 1.128236] 3ec0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.137056] 3ee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.145877] 3f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.154696] 3f20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.163515] 3f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.172335] 3f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.181156] 3f80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.189976] 3fa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.198796] 3fc0: 0000000000000000 0000000000000005 0000000000000000 0000000000000000 [ 1.207615] 3fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.216432] Call trace: [ 1.219183] Exception stack(0xffffffc0222e3b30 to 0xffffffc0222e3c60) [ 1.226435] 3b20: 0000000000000000 0000007fffffffff [ 1.235257] 3b40: ffffffc0222e3d00 ffffff8008762a70 ffffff80095685d8 0000000000000001 [ 1.244077] 3b60: ffffffc02222f590 ffffff8009555000 0000000080000000 00000000024000c0 [ 1.252898] 3b80: 0000000000000040 ffffff80092be7b0 ffffffc0222e3bb0 ffffff8008eb3454 [ 1.261720] 3ba0: 0000000000000040 ffffffc02229a8f0 ffffffc0222e3bd0 ffffff8008676ee8 [ 1.270540] 3bc0: ffffff80095685d8 0000000000000001 0000000000000000 0000000000000200 [ 1.279361] 3be0: 00000000000000d4 0000000000000000 ffffffffffffffff 0000000000000000 [ 1.288182] 3c00: 0080808080808080 616e716f6e737460 7f7f7f7f7f7f7f7f fefefefefefeff64 [ 1.297004] 3c20: 7f7f7f7f7f7f7f7f 0101010101010101 0000000000000008 ffffffffffffffff [ 1.305823] 3c40: ffffffffffffffff ffffffffffffffff 000000000000000e 0000000000000000 [ 1.314646] [<ffffff8008762a70>] acpu_set_flag+0x50/0xb0 [ 1.320634] [<ffffff800928a820>] rtk_suspend_init+0x30/0x80c [ 1.327010] [<ffffff8008283c3c>] do_one_initcall+0x44/0x130 [ 1.333289] [<ffffff8009250cec>] kernel_init_freeable+0x190/0x234 [ 1.340151] [<ffffff8008eaced0>] kernel_init+0x18/0x108 [ 1.346033] [<ffffff8008283980>] ret_from_fork+0x10/0x50 [ 1.352019] Code: d503201f 14000001 d503201f 52804001 (b90002a1) [ 1.358886] ---[ end trace 1c1cf6cb41d444c2 ]--- [ 1.364214] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.364214] [ 1.374520] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.374520]
  4. Wouldn't that fail if it was compressed though?
  5. I'm still running binwalk over stuff, but I was looking over a log of normal boot (from the hard drive) and I noticed it actually prints out a memory address for what I'm looking for: I tried to copy it out with dd, but it doesn't seem to have resulted in valid results (At least according to file). Here's the log: ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 reserving fdt memory region: addr=0 size=30000 reserving fdt memory region: addr=1f000 size=1000 reserving fdt memory region: addr=30000 size=d0000 reserving fdt memory region: addr=1b00000 size=400000 reserving fdt memory region: addr=1ffe000 size=4000 reserving fdt memory region: addr=10000000 size=14000 reserving fdt memory region: addr=2200000 size=400000 reserving fdt memory region: addr=3200000 size=b800000 reserving fdt memory region: addr=2600000 size=c00000 reserving fdt memory region: addr=11000000 size=3c00000 Using Device Tree in place at 0000000001f00000, end 0000000001f122aa I tried copying it out with dd if=/dev/sdf$i bs=1 seek=32505856 count=74410 of=test$i.dtb with a loop: I also used the drive itself, but I feel like it's probably using an image and using memory addresses. Not sure how I'd be able to find out how to get it though.
  6. I'm currently running binwalk over all the system partitions (Everything but the data) to see if I can find myself an official dtb: mine includes a bunch of stuff that isn't needed due to how it was made, including that serial number I censored out. If I get an official one, I'll see if it can boot, but either way I'll upload it.
  7. Honestly? Not sure. I just copied the serial log, and each boot has it. I wasn't able to find it: I'm not sure if it's embedded in some archive however. (which thinking about it, it may be in the u boot version of ramfs: I'll look for that later).
  8. So, I've been trying to see if I could use this to coax a copy of this to run on my WD MyCloud home. I originally got it for a local business, but the built-in samba implementation sucked so bad it wouldn't work for them (It was hard-coded to only allow 5 'users' concurrently, but what it meant was 5 connections. 2 users easily hit that limit...) so I replaced it with a small x86 box. In the meantime, I want to use this as once it's cleaned up it should work very well, and the box I gave them was overkill (8 gigs of ram for ) I have been using @danman 's fatload commands to see if I could coax it to boot to the USB stick (The WD mycloud stores the OS on the hard drive, which I'm keeping unplugged while this is going on). I tried out all the existing DTBs in the existing build instructions from the first post, but it always failed: I've also tried to create my own DTB using the normal OS, but I had to basically tar /sys/firmware/devicetree/base and use dtc on my build host because I couldn't find a way to run dtc on the android build it comes with. Sadly, that also fails, so I'm not really sure what to try next. Here's the full bootlog if it helps anyone. I'm somewhat new to embedded development, so. C1:80000000 C2 ? C3h hwsetting size: 000005C0 C4 f 5-5 Goto FSBL: 0x10100000 <=============================================> fsbl_main: sys_secure_type = 0x0000BEEE fsbl_main: sys_boot_type = 0x00000001 fsbl_main: sys_boot_enc = 0x00000000 fsbl_main: sys_bisr_done = 0x00000000 sys_hwsetting_size:00000600 sys_bootcode_size:00067440 sys_secure_fsbl_size:00010B00 sys_secure_os_size:00000000 sys_bl31_size:00005040 sys_rsa_key_fw_size:00000000 sys_rsa_key_tee_size:00000000 sys_rescue_size:00026360 HwSetting: hwsetting_blk_no:88120800 hwsetting_total_size:00000680 hwsetting_blk_count:00000680 Bootcode: bootcode_blk_no:88120E80 bootcode_total_size:00067460 bootcode_blk_count:00067460 FSBL: secure_fsbl_blk_no:881882E0 secure_fsbl_total_size:00010B20 secure_fsbl_blk_count:00010B20 TEE OS: secure_os_blk_no:88198E00 secure_os_total_size:00000000 secure_os_blk_count:00000000 BL31: bl31_blk_no:88198E00 bl31_total_size:00005060 bl31_blk_count:00005060 RSA Key Fw: rsa_key_fw_blk_no:8819DE60 rsa_key_fw_total_size:00000000 rsa_key_fw_blk_count:00000000 RSA Key TEE: rsa_key_tee_blk_no:8819DE60 rsa_key_tee_total_size:00000000 rsa_key_tee_blk_count:00000000 Rescue: rescue_blk_no:8819DE60 rescue_total_size:00026380 rescue_blk_count:00026380 ********** FW_TYPE_BOOTCODE ********** fwInfo->fwType: 00000001 fwInfo->isGolden: 00000001 fwInfo->ddrReadAddr: 00520000 fwInfo->ddrDestAddr: 00020000 fwInfo->flashType: 00000001 fwInfo->flashUnitSize: 00000001 fwInfo->flashOffset: 88120E80 fwInfo->dataSize: 00067460 body_size:00067440 flash_unit_no:88120E80 flash_unit_count:00067460 real_size:00067418 sha256 Fw j bootcode jump address:00020000 64b 4.1.4 CPU : Cortex-A53 quad core - AARCH32 Board: Realtek QA Board [ERR] get_accessible_ddr_size: hw setting error. (impossible value 0x0) [ERR] get_accessible_ddr_size: hw setting error. (impossible value 0x0) DRAM: 0 Bytes Watchdog: Disabled Cache: Enabled Non-Cache Region: 1 MB@0x07900000 nor flash id [0x00c84014] sector 256k en: 0 sector 64k en: 1 sector 32k en: 1 sector 4k en: 1 page_program : 1 max capacity : 0x00100000 spi type name : GD25Q80C_08Mbit [SATA] enable SATA interface [SATA] spread-spectrum disable Factory: NOR Factory: pp:0, seq#:0x1e, size:0x2400 ------------can't find tmp/factory/000BootParam.h Set HDMI TX OFF In: serial Out: serial Err: serial Net: Realtek PCIe GBE Family Controller mcfg = 0024 dev->name=r8168#0 *** Reboot-Action invalid *** Hit Esc or Tab key to enter console mode or rescue linux: 0 ------------can't find tmp/factory/recovery ======== Checking into android recovery ==== (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found USB1: USB XHCI 1.10 scanning bus 1 for devices... Unknown request , typeReq = 0x200c 2 USB Device(s) found USB2: USB XHCI 1.10 scanning bus 2 for devices... Unknown request , typeReq = 0x200c 1 USB Device(s) found scanning usb for storage devices... Enter is_pmbr_valid Warning: failed to 0xEE type in MBR 1 Storage Device(s) found 1: Hub, USB Revision 2.0 - u-boot EHCI Host Controller - Class: Hub - PacketSize: 64 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 1.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms 2: Hub, USB Revision 3.0 - u-boot XHCI Host Controller - Class: Hub - PacketSize: 9 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 1.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms 3: Mass Storage, USB Revision 2.0 - TREK TDMINIG4 6e032d545fd578 - Class: (from Interface) Mass Storage - PacketSize: 64 Configurations: 1 - Vendor: 0x0a16 Product 0x1208 Version 1.0 Configuration: 1 - Interfaces: 1 Bus Powered 98mA Interface: 0 - Alternate Setting 0, Endpoints: 3 - Class Mass Storage, Transp. SCSI, Bulk only - Endpoint 1 Out Bulk MaxPacket 512 - Endpoint 2 In Bulk MaxPacket 512 - Endpoint 3 In Interrupt MaxPacket 64 Interval 8ms 4: Hub, USB Revision 3.0 - u-boot XHCI Host Controller - Class: Hub - PacketSize: 9 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 1.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms reading boot/vmlinuz-4.9.181-rtd1295 Filesize: 8249990 bytes 8249990 bytes Size: 8249990, got: 8249990 8249990 bytes read (take 524ms) reading boot/dtb-4.9.181-rtd1295/realtek/rtd129x/rtd-1295-wd-mycloud-home.dtb Filesize: 54083 bytes 54083 bytes Size: 54083, got: 54083 54083 bytes read (take 194ms) ***************************************** factory { bna = "0"; cbr = "B"; nbr = "B"; ver = "4.1.4"; ethaddr = "[CENSORED]"; ipaddr = "192.168.100.1"; serial = "[CENSORED]"; bootstate = "3"; }; ***************************************** EXPORT ENV AT 0x10000000, ENV size info:0x00002000,0x00001ffc,0x00000004 rtk_preload_bootimages_spi : header info 0x00000600 0x00067440 0x00010b00 0x00000000 0x00005040 0x00000000 0x00000000 0x00026360 0x00000000 rtk_preload_bootimages_spi : load U-Boot 64 from 0x8819de60 to 0x01500000 with size 0x00026360 rtk_preload_bootimages_spi : load BL31 from 0x88198e00 to 0x10120000 with size 0x00005040 copy_2nd_bootloader_and_run : src:0x01500000, dst:0x00021000, size:0x00028000 Jumping to 2nd bootloader... U-Boot 2015.07-g5a4a178-dirty (Jun 22 2016 - 11:33:46 +0800) CPU : Cortex-A53 Quad Core Board: Realtek QA Board [ERR] get_accessible_ddr_size: hw setting error. (impossible value 0x0) [ERR] Fall back to using CONFIG_SYS_RAM_DCU1_SIZE DRAM: 1 GiB mapping memory 0x20000000-0x40000000 non-cached In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 Unknown command 'usb' - try 'help' rtk_plat_set_fw not port yet, use default configs Not raw Image, Starting Decompress Image.gz... ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Using Device Tree in place at 0000000001f00000, end 0000000001f10342 Bring UP slave CPUs Starting Kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.181-rtd1295 (root@build-virtual-machine) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02) ) #1 SMP PREEMPT Thu Jun 20 20:31:22 NDT 2019 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] DT: logo_start_addr 0x0, size 0x0 [ 0.000000] DT: of_cma_info.region_enable 1 [ 0.000000] DT: saving_section_page_table 0 [ 0.000000] earlycon: uart8250 at MMIO32 0x0000000098007800 (options '') [ 0.000000] bootconsole [uart8250] enabled [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: fdt region 0 [ 0.000000] cma: size 0x0000000002000000, base 0x0000000020000000, fixed(1) [ 0.000000] cma: Reserved 32 MiB at 0x0000000020000000 [ 0.000000] missing or invalid resume-entry-addr property [ 0.000000] missing or invalid resume-entry-addr property [ 0.000000] missing or invalid resume-entry-addr property [ 0.000000] percpu: Embedded 22 pages/cpu s53144 r8192 d28776 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257536 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/mmcblk0p1 rootfs=ext4 init=/sbin/init [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Memory: 971720K/1046528K available (12540K kernel code, 1682K rwdata, 3612K rodata, 1152K init, 488K bss, 42040K reserved, 32768K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008280000 - 0xffffff8008ec0000 ( 12544 KB) [ 0.000000] .rodata : 0xffffff8008ec0000 - 0xffffff8009250000 ( 3648 KB) [ 0.000000] .init : 0xffffff8009250000 - 0xffffff8009370000 ( 1152 KB) [ 0.000000] .data : 0xffffff8009370000 - 0xffffff8009514a00 ( 1683 KB) [ 0.000000] .bss : 0xffffff8009514a00 - 0xffffff800958eb7c ( 489 KB) [ 0.000000] fixed : 0xffffffbefe7fb000 - 0xffffffbefec00000 ( 4116 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf01000000 ( 16 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 27.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns [ 0.000006] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns [ 0.009706] rmem_count: 1 [ 0.013628] [ 0.015302] rsvmem_remap 143, rmem->name ramoops_mem [ 0.021877] rsvmem_remap 147, no compatible prop [ 0.028461] Console: colour dummy device 80x25 [ 0.033499] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=108000) [ 0.045180] pid_max: default: 32768 minimum: 301 [ 0.050554] Security Framework initialized [ 0.055184] SELinux: Initializing. [ 0.059259] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.066824] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.075789] ftrace: allocating 40059 entries in 157 pages [ 0.199751] sched-energy: CPU device node has no sched-energy-costs [ 0.206866] Invalid sched_group_energy for CPU0 [ 0.211988] CPU0: update cpu_capacity 1024 [ 0.216624] ASID allocator initialised with 32768 entries [ 0.258531] EFI services will not be available. [ 0.271710] Brought up 1 CPUs [ 0.275055] SMP: Total of 1 processors activated. [ 0.280392] CPU features: detected feature: 32-bit EL0 Support [ 0.286984] CPU features: detected feature: Kernel page table isolation (KPTI) [ 0.298516] CPU: All CPU(s) started at EL2 [ 0.303163] alternatives: patching kernel code [ 0.308441] Invalid sched_group_energy for CPU0 [ 0.313567] CPU0: update max cpu_capacity 1024 [ 0.318586] Invalid sched_group_energy for Cluster0 [ 0.324868] devtmpfs: initialized [ 0.353036] DMI not present or invalid. [ 0.357847] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.368897] futex hash table entries: 256 (order: 3, 32768 bytes) [ 0.377953] pinctrl core: initialized pinctrl subsystem [ 0.386152] NET: Registered protocol family 16 [ 0.403398] cpuidle: using governor ladder [ 0.420094] cpuidle: using governor menu [ 0.424814] vdso: 2 pages (1 code @ ffffff8008ec7000, 1 data @ ffffff8009374000) [ 0.433180] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.442459] DMA: preallocated 256 KiB pool for atomic allocations [ 0.450050] rst-control : base ffffff800804b600, offset 0xb4 [ 0.456548] ****** rtk_lockapi_init 620, chip: id=0x00000000, revision=0x00010000 [ 0.467086] gpiochip_add_data: GPIOs 101..135 (rtk_iso_gpio) failed to register [ 0.475839] [drivers/gpio/gpio-rtd129x.c] rtk_gpio_probe line: 844 [ 0.485021] [GPIO] No default gpio need to set [ 0.491235] gpiochip_add_data: GPIOs 0..100 (rtk_misc_gpio) failed to register [ 0.499720] [drivers/gpio/gpio-rtd129x.c] rtk_gpio_probe line: 844 [ 0.512526] [GPIO] set_default_gpio: Could not get gpio from of [ 0.519323] [GPIO] set_default_gpio: Could not get gpio from of [ 0.529771] [RTK_SB2_DBG] Info 0x10000 [ 0.534630] [RTK_SB2_DBG] memory monitor 0x98013b00 - 0x98013c00 [ 0.541451] [RTK_SB2_DBG] initialized [ 0.670357] ACPI: Interpreter disabled. [ 0.675161] Unable to handle kernel NULL pointer dereference at virtual address 000000d4 [ 0.684413] [00000000000000d4] user address but active_mm is swapper [ 0.691630] Internal error: Oops: 96000045 [#1] PREEMPT SMP [ 0.697905] Modules linked in: [ 0.701349] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.181-rtd1295 #1 [ 0.708892] Hardware name: Realtek_RTD1295 (DT) [ 0.713991] task: ffffffc0222dcd80 task.stack: ffffffc0222e0000 [ 0.720664] PC is at acpu_set_flag+0x50/0xb0 [ 0.725470] LR is at acpu_set_flag+0x3c/0xb0 [ 0.730276] pc : [<ffffff8008762a70>] lr : [<ffffff8008762a5c>] pstate: 80000045 [ 0.738602] sp : ffffffc0222e3d00 [ 0.742328] x29: ffffffc0222e3d00 x28: ffffff8009324c90 [ 0.748313] x27: 0000000000000005 x26: ffffff80092be7b0 [ 0.754297] x25: ffffff8009518000 x24: ffffff8009250468 [ 0.760282] x23: ffffff8009242330 x22: ffffff800956c000 [ 0.766264] x21: 00000000000000d4 x20: 0000000000000000 [ 0.772245] x19: 0000000000000000 x18: 0000000000000000 [ 0.778228] x17: 0000000000000000 x16: 000000000000000e [ 0.784210] x15: ffffffffffffffff x14: ffffffffffffffff [ 0.790195] x13: ffffffffffffffff x12: 0000000000000008 [ 0.796177] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [ 0.802160] x9 : fefefefefefeff64 x8 : 7f7f7f7f7f7f7f7f [ 0.808144] x7 : 616e716f6e737460 x6 : 0080808080808080 [ 0.814126] x5 : 0000000000000000 x4 : ffffffffffffffff [ 0.820110] x3 : 0000000000000000 x2 : 00000000000000d4 [ 0.826090] x1 : 0000000000000200 x0 : 0000000000000000 [ 0.832074] [ 0.832074] SP: 0xffffffc0222e3c80: [ 0.837664] 3c80 0956c000 ffffff80 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 [ 0.846904] 3ca0 092be7b0 ffffff80 00000005 00000000 09324c90 ffffff80 222e3d00 ffffffc0 [ 0.856140] 3cc0 08762a5c ffffff80 222e3d00 ffffffc0 08762a70 ffffff80 80000045 00000000 [ 0.865372] 3ce0 222e3d00 ffffffc0 08762a4c ffffff80 ffffffff ffffffff 08762a5c ffffff80 [ 0.874608] 3d00 222e3d30 ffffffc0 0928a820 ffffff80 0928a7f0 ffffff80 090fa000 ffffff80 [ 0.883840] 3d20 0956c760 ffffff80 08678624 ffffff80 222e3dd0 ffffffc0 08283c3c ffffff80 [ 0.893077] 3d40 0928a7f0 ffffff80 00000000 00000000 222dcd80 ffffffc0 092be7d0 ffffff80 [ 0.902313] 3d60 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 092be7b0 ffffff80 [ 0.911569] [ 0.911569] X29: 0xffffffc0222e3c80: [ 0.917256] 3c80 0956c000 ffffff80 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 [ 0.926493] 3ca0 092be7b0 ffffff80 00000005 00000000 09324c90 ffffff80 222e3d00 ffffffc0 [ 0.935729] 3cc0 08762a5c ffffff80 222e3d00 ffffffc0 08762a70 ffffff80 80000045 00000000 [ 0.944964] 3ce0 222e3d00 ffffffc0 08762a4c ffffff80 ffffffff ffffffff 08762a5c ffffff80 [ 0.954199] 3d00 222e3d30 ffffffc0 0928a820 ffffff80 0928a7f0 ffffff80 090fa000 ffffff80 [ 0.963433] 3d20 0956c760 ffffff80 08678624 ffffff80 222e3dd0 ffffffc0 08283c3c ffffff80 [ 0.972668] 3d40 0928a7f0 ffffff80 00000000 00000000 222dcd80 ffffffc0 092be7d0 ffffff80 [ 0.981901] 3d60 09242330 ffffff80 09250468 ffffff80 09518000 ffffff80 092be7b0 ffffff80 [ 0.991137] [ 0.992811] Process swapper/0 (pid: 1, stack limit = 0xffffffc0222e0000) [ 1.000355] Stack: (0xffffffc0222e3d00 to 0xffffffc0222e4000) [ 1.006829] 3d00: ffffffc0222e3d30 ffffff800928a820 ffffff800928a7f0 ffffff80090fa000 [ 1.015650] 3d20: ffffff800956c760 ffffff8008678624 ffffffc0222e3dd0 ffffff8008283c3c [ 1.024472] 3d40: ffffff800928a7f0 0000000000000000 ffffffc0222dcd80 ffffff80092be7d0 [ 1.033293] 3d60: ffffff8009242330 ffffff8009250468 ffffff8009518000 ffffff80092be7b0 [ 1.042113] 3d80: 0000000000000005 ffffff8009324c90 ffffff80092890b4 0000000000000000 [ 1.050934] 3da0: ffffffc0222dcd80 ffffff80092be7d0 ffffff8009242330 ffffff8009250468 [ 1.059755] 3dc0: ffffffc0222e3dd0 ffffff8008283c3c ffffffc0222e3e40 ffffff8009250cec [ 1.068575] 3de0: 00000000000001aa ffffff8009518000 0000000000000004 ffffff80092be7b0 [ 1.077396] 3e00: 0000000000000000 ffffff8009324b80 ffffff80093913c8 0000000000000000 [ 1.086215] 3e20: 0000000000000000 ffffff80090a8d78 0000000400000004 ffffff80090a1058 [ 1.095035] 3e40: ffffffc0222e3ea0 ffffff8008eaced0 ffffff8008eaceb8 0000000000000000 [ 1.103855] 3e60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.112675] 3e80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.121495] 3ea0: 0000000000000000 ffffff8008283980 ffffff8008eaceb8 0000000000000000 [ 1.130314] 3ec0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.139135] 3ee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.147956] 3f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.156776] 3f20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.165595] 3f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.174416] 3f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.183237] 3f80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.192055] 3fa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.200875] 3fc0: 0000000000000000 0000000000000005 0000000000000000 0000000000000000 [ 1.209696] 3fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.218514] Call trace: [ 1.221266] Exception stack(0xffffffc0222e3b30 to 0xffffffc0222e3c60) [ 1.228517] 3b20: 0000000000000000 0000007fffffffff [ 1.237339] 3b40: ffffffc0222e3d00 ffffff8008762a70 ffffff80095685d8 0000000000000001 [ 1.246158] 3b60: ffffffc02222f590 ffffff8009555000 0000000080000000 00000000024000c0 [ 1.254979] 3b80: 0000000000000040 ffffff80092be7b0 ffffffc0222e3bb0 ffffff8008eb3454 [ 1.263800] 3ba0: 0000000000000040 ffffffc02229a8f0 ffffffc0222e3bd0 ffffff8008676ee8 [ 1.272620] 3bc0: ffffff80095685d8 0000000000000001 0000000000000000 0000000000000200 [ 1.281441] 3be0: 00000000000000d4 0000000000000000 ffffffffffffffff 0000000000000000 [ 1.290262] 3c00: 0080808080808080 616e716f6e737460 7f7f7f7f7f7f7f7f fefefefefefeff64 [ 1.299083] 3c20: 7f7f7f7f7f7f7f7f 0101010101010101 0000000000000008 ffffffffffffffff [ 1.307903] 3c40: ffffffffffffffff ffffffffffffffff 000000000000000e 0000000000000000 [ 1.316722] [<ffffff8008762a70>] acpu_set_flag+0x50/0xb0 [ 1.322707] [<ffffff800928a820>] rtk_suspend_init+0x30/0x80c [ 1.329083] [<ffffff8008283c3c>] do_one_initcall+0x44/0x130 [ 1.335362] [<ffffff8009250cec>] kernel_init_freeable+0x190/0x234 [ 1.342228] [<ffffff8008eaced0>] kernel_init+0x18/0x108 [ 1.348112] [<ffffff8008283980>] ret_from_fork+0x10/0x50 [ 1.354096] Code: d503201f 14000001 d503201f 52804001 (b90002a1) [ 1.360962] ---[ end trace 5d1bbd3218d7a1df ]--- [ 1.366290] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.366290] [ 1.376597] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.376597] Interestingly, if I used the built image and just DD'd it to a flash drive it would be unable to use fatload because the fat partition is oddly set up. I created a new fat32 partition on windows, then rsynced the files to the new partition and fatload works (Although linux isn't happy for some reason). Here's my bootcmd if anyone was curious: usb start && fatload usb 0:1 $kernel_loadaddr boot/vmlinuz-4.9.181-rtd1295 && fatload usb 0:1 $fdt_loadaddr boot/dtb-4.9.181-rtd1295/realtek/rtd129x/rtd-1295-wd-mycloud-home.dtb && env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/mmcblk0p1 rootfs=ext4 init=/sbin/init && b2ndbc; bootr If anyone wants I can also upload the devicetree tar (or the dts / dtb): When compiling the DTS I did get a LOT of warnings, so I'm not sure if that's normal. I also noticed when trying out different dtb files that the kernel would panic sooner or later: Some got as far as 9 seconds in. Not sure if that's good or bad though.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines