4 ms·
Very recently I recovered my rock too. I'm about 20 hours in. Any repository or helpful documentation to save part of the 80 remaining hours? pleaaaasee
by fgblanch 6y ago
Very recently I recovered my rock too. I'm about 20 hours in. Any repository or helpful documentation to save part of the 80 remaining hours? pleaaaasee
- slezyr 6y ago1.) Forget about EMMC, it's gone and not supported by anyone. 2.) Boot is only possible from microSD card. USB is not supported. 3.) Build BareBox with https://www.barebox.org/doc/latest/boards/rockchip.html https://www.barebox.org/doc/latest/boards/rockchip.html Use `rk-splitboot` to split FlashData from the original boot loader, other option doesn't work. Build it, it will create barebox-radxa-rock.img. It's .img, not the .bin. Write an SD card as in the instruction. 4.) Follow these instructions, but use the generic image. https://archlinuxarm.org/platforms/armv7/amlogic/odroid-c1 https://archlinuxarm.org/platforms/armv7/amlogic/odroid-c1 http://os.archlinuxarm.org/os/ArchLinuxARM-armv7-latest.tar.gz http://os.archlinuxarm.org/os/ArchLinuxARM-armv7-latest.tar.... 5.) Build kernel as in this tutorial, ignore the `dts` stuff. The `dts` comes with the kernel sources. https://wiki.radxa.com/Rock/Linux_Mainline https://wiki.radxa.com/Rock/Linux_Mainline https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/rk3188-radxarock.dts https://github.com/torvalds/linux/blob/master/arch/arm/boot/... 6.) Copy the zImage, rk3188-radxarock.dts to the /boot and plug in the UART. 7.) sudo picocom /dev/ttyUSB1 -b 115200 -e w 8.) Boot in the bootloader and execute the following commands: global.bootm.appendroot=true global.bootm.image=/mnt/mshc1.0/boot/zImage global.bootm.oftree=/mnt/mshc1.0/boot/dtbs/rk3188-radxarock.dtb bootm 9.) If it boots, you can make it permanent by following the BareBox docs.
- fgblanch 6y agoWoow HUGE thanks!
- slezyr 6y agoForgot the most important one - power it by using power cable that came with it and the 5V _2A_ adapter. It will kernel panic at random places if you power it from the USB port.
- imposterr 6y agoOh geez. How did you even figure this one out?
- NikolaeVarius 6y agoThis sort of thing isn't that weird in small cheap devices. They more or less demand clean power, which is why the Pi4 is heavily recommended to be used with their official charger. I find it gets unstable with cheaper USB C chargers. I specifically buy high quality chargers/cables/battery packs for my embedded work since they are so intolerant of bad power
- rckoepke 6y agoWhat are your recommended brands of USB chargers?
- ndesaulniers 6y agoAre you statically compiling in the kernel modules? (Would have expected some .ko's to need copying too, beyond the kernel image and device tree pieces.)