install with broken uSD slot

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

install with broken uSD slot

Colin Tree
Hi,

I am installing to a rk3399 nanopc-t4, unfortunately my problem is a
broken uSD slot.

I have had the installer boot once to the prompt and a few questions
later died, also can't install linux through uSD slot.

I am able to flash linux images to the emmc through the usbc cable using
a linux program, rkdeveloptool.

I have patched and installed u-boot and dtb, setup my miniroot67.img as
described in INSTALL.arm64,

have tried to flash whole image and separate idbloader, u-boot,
(fat)boot and (openbsd)root.

So far I haven't been able to put the installer on the emmc and boot.

I am expecting I can install over the installer onto the emmc.



dd if=6.7/arm64/miniroot67.img of=/dev/sd2c bs=1m

dd if=/usr/local/share/u-boot/nanopc-t4-rk3399/idbloader.img
of=/dev/sd2c seek=64

dd if=/usr/local/share/u-boot/nanopc-t4-rk3399/u-boot.itb of=/dev/sd2c
seek=16384

mount /dev/sd2i /mnt

mkdir /mnt/rockchip

cp -v /usr/local/share/dtb/arm64/rockchip/rk3399-nanopc-t4.dtb /mnt/rockchip



debug on cuaU0

$ cu -l cuaU0 -s 115200
Connected to /dev/cuaU0 (speed 115200)

U-Boot TPL 2020.01 (Jul 05 2020 - 20:09:10)
Channel 0: LPDDR3, 933MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR3, 933MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.01 (Jul 05 2020 - 20:09:10 +1000)
Trying to boot from MMC1
Card did not respond to voltage select!
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###


p.s. had success with nanopi-neo-air installing and running from emmc,

except for on-board wifi, usb attached wifi works.

how do I submit working patches (my first)

Colin