Jump to content

habeIchVergessen

Members
  • Posts

    4
  • Joined

  • Last visited

  1. WD_Black & WD_Black SN750 with spi u-boot works on rock pi 4a installed armbian buster 5.3.11 this way - flash armbian to sd-card Armbian_19.11.3_Rockpi-4b_buster_current_5.3.11.img - flash spi u-boot https://wiki.radxa.com/Rockpi4/dev/spi-install - boot from spi - hit ctrl-c serveral times to enter u-boot command prompt - plug sd-card - execute in u-boot prompt dcache off;pci e; nvme scan; nvme info; setenv fdtfile rockchip/rk3399-rock-pi-4.dtb run bootcmd_mmc1 - login to armbian (first time pwd 1234) - check nvme lsblk - create new partition(s) optional boot partition needs to be the first partition on disk (256M) otherwise root is first partition - mount root partition to /mnt (boot to /mnt/boot) - copy running system tar -lpc --exclude dev/* --exclude proc/* --exclude sys/* / | tar -xpv -C /mnt - prepare change root to /mnt mount -o bind /dev /mnt/dev mount -o bind /proc /mnt/proc mount -o bind /sys /mnt/sys chroot /mnt - modify /etc/fstab (UUID for root; copy root and modify it to match boot) -- block id for single root partition blkid /dev/nvme0n1p1 -- block id for boot partition blkid /dev/nvme0n1p1 -- and root blkid /dev/nvme0n1p2 - modify UUID of root partition in /boot/armbianEnv.txt - add fdtfile to /boot/armbianEnv.txt fdtfile=rockchip/rk3399-rock-pi-4.dtb - create symbolic link for boot (boot partition only) cd /boot ln -s . boot - update initramfs update-initramfs -u - exit (chroot) exit - shutdown running system (sd-card) poweroff - unplug sd-card - switch power off and on again
  2. currently i'm trying to load a dtbo to 4.19-rc4. attachted dts works and results in loading modul adv7180. /dts-v1/; /plugin/; / { compatible = "friendlyelec,nanopc-t4", "rockchip,rk3399"; fragment@0 { // target = <&i2c1>; target-path = "/i2c@ff110000"; __overlay__ { #address-cells = <1>; #size-cells = <0>; adv7282-m@20 { status = "okay"; compatible = "adi,adv7282-m"; reg = <0x20>; device_type = "v4l2-i2c-subdev"; // powerdown-gpios = <&gpio2 28 1>;// 92 // reset-gpios = <&adv_gpio2 27 1>; // 91 }; }; }; }; i need some advices for - referencing by phandle (like target = <&i2c1>) - defining gpios (commented out gpios)
  3. have anyone tested the tvin yet? there are some ported drivers from android kernel on github (sun7i_tvd). with regards
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines