Jump to content

Павел Мухатаев

Validating
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. Hello I'm trying to run armbian (or any other custom linux) on my NAS TerraMaster F4-210/2G (SoC Realtek RTD1296 based). It has uart connector (the same connector and pins as Zidoo X9S). So I've created USB stick with Fat32, put uImage and device tree files into it, created another ext2 partition to use as root. Took uImage from banana-pi-w2 just to check things. And used the following command to load my kernel from uboot (there is no b2ndbc command in my uboot): Realtek> env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/sda1 rootfs=vfat Realtek> usb start && fatload usb 0:1 $kernel_loadaddr uimage && fatload usb 0:1 $fdt_loadaddr tm_f4-210.dtb && env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/sda2 rootfs=ext2 init=/bin/bash && bootr starting USB... ... reading uimage 10630032 bytes read in 403 ms (25.2 MiB/s) reading tm_f4-210.dtb 65536 bytes read in 30 ms (2.1 MiB/s) Start Boot Setup ... *** rtkspi_read32_md 422, tar 0x0b000000, src 0x881a0000, len 0x00050000 ... PowerOnOSD~~ [ 0.000000] psci: probing for conduit method from DT. After that original kernel loaded instead of mine. Then I tried to use bootm - also without any luck Realtek> usb start && fatload usb 0:1 $kernel_loadaddr uimage && fatload usb 0:1 $fdt_loadaddr tm_f4-210.dtb && env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/sda2 rootfs=ext2 init=/bin/bash && bootm $kernel_loadaddr - $fdt_loadaddr Wrong Image Format for do_booti command ERROR: can't get kernel image! I didn't find any documentation on bootr command which stays for `bootr - boot realtek platform`. So my questions are: is it possible to get info from current stock uboot or devtree or kernel. Or what image type is required by bootm. uboot load log uboot help uboot base, bdinfo, flinfo, printenv, showvar, version Also in my device-tree I see the following: chosen { bootargs = "rdinit=/sbin/init mtdparts=RtkSFC:128k(factory),512k(uboot),320k(logo),1408k(afw),64k(dtb),7680k(kernel),5632k(initrd) earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 loglevel=7"; linux,initrd-start = <0x2200000>; linux,initrd-end = <0x2600000>; compatible = "Realtek,rtk1295-cma_info"; cma-region-enable = <0x01>; cma-region-info = <0x00 0x1000000 0x11000000>; }; memory { device_type = "memory"; reg = <0x00 0x80000000>; }; mem_remap { compatible = "Realtek,rtk1295-mem_remap"; #address-cells = <0x01>; #size-cells = <0x01>; ranges; rbus { reg = <0x98000000 0x200000>; }; common { reg = <0x1f000 0x1000>; }; ringbuf { reg = <0x1ffe000 0x4000>; }; };
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines