camus has quit [Read error: Connection reset by peer]
camus1 has joined #linux-rockchip
camus1 is now known as camus
crabbedhaloablut has joined #linux-rockchip
hanetzer has joined #linux-rockchip
warpme has joined #linux-rockchip
psydroid2 has joined #linux-rockchip
stikonas has joined #linux-rockchip
dsimic has quit [Ping timeout: 245 seconds]
dsimic has joined #linux-rockchip
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
Rayyan has quit [Quit: bye!]
Rayyan has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
vagrantc has joined #linux-rockchip
sigmaris has quit [Ping timeout: 255 seconds]
sigmaris has joined #linux-rockchip
Rayyan has quit [Quit: bye!]
Rayyan has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
camus has quit [Remote host closed the connection]
camus has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
psydroid3 has joined #linux-rockchip
psydroid3 has quit [Client Quit]
Jmabsd has joined #linux-rockchip
<Jmabsd>
Hi all, I have an issue that I want to reinstall the Rock5B, but I don't have an USB-eMMC reader, and also the USB-MaskRom mode for writing the flash does not seem to work.
<Jmabsd>
Could I flash the eMMC while the system is operational, via like, wget .... | xunzip | dd if=/dev/stdin of=/dev/emmc0 or something?
<Jmabsd>
The RKDevTool finds the Rock5B with eMMC, but clicking Run to write the new OS image, it says "Test Device Fail"
<CounterPillow>
boot from microSD, overwrite eMMC from booted microSD system
<Jmabsd>
CounterPillow: How do you overwrite, you mean wget, then unzip, then dd if= of= to where, /dev/emmc0.. which subletter
<CounterPillow>
check with lsblk
<Jmabsd>
ok
<Jmabsd>
and do you write directly to it, or add some offset=..?
<CounterPillow>
that depends entirely on your image (and no if you tell me the name of your radxa downstream image I still cannot give you an answer)
<Jmabsd>
How boot from SD memory card - if at boot it's found to be bootable does it get chosen first in boot order?
<Jmabsd>
It's a Radxa .img(.xz) file
<CounterPillow>
no, SD card won't be chosen first. You need to make the emmc inaccessible somehow
<Jmabsd>
i can just unplug the emmc on boot?
<CounterPillow>
I wouldn't plug it in while the board is powered.
<CounterPillow>
check if there's a jumper to disable it
<Jmabsd>
Is there any relevance in me updating the SPI flash (or some other firmware)?
<mps>
maybe it could be selected in u-boot shell. 'setenv boot_target emmc...' whatever device it is
<Jmabsd>
The Rock5B has the manufacturer's boot installed on it, I don't see any boot loader prompt / menu on the serial console when booting
<Jmabsd>
It says "DDR Version V1.08 "... and some more and then boots the Linux off the eMMC
<mps>
ah, so rock5B is not user^Wdeveloper friendly
<mps>
maybe pressing some keys after first boot message could somehow invoke some boot loader shell
<Jmabsd>
hmmm
<mps>
I'm guessing it is u-boot somehow packed on it
<Jmabsd>
I did not try connecting an external monitor and keyboard
<Jmabsd>
should I?
<mps>
serial console is usually better
<Jmabsd>
I had a look at monitor via HDMI now and it starts showing stuff after OS booted only
<mps>
probably u-boot doesn't have video console driver
<mps>
or it is not enabled in u-boot
<mps>
try with serial console if you have cable
<Jmabsd>
Is there any relevance in updating the SPI flash?
<Jmabsd>
I didn't try
sL1pKn07 has quit [Remote host closed the connection]
<mps>
idk, I don't have this board. just telling some ideas
sL1pKn07 has joined #linux-rockchip
<Jmabsd>
Ok
<Jmabsd>
Maybe plugging in eMMC while the system is on should work?
<mps>
this could be risky if you have to plug it in socket
<Jmabsd>
maybe i just try to find an USB to eMMC reader somewhere.
<Jmabsd>
Does almost any on the market work, or must it be Radxa's?
<mps>
iirc I've got radxa emmc-to-mmc adapter with visionfive v2 and it works fine