Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

1.) 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

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

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://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.



Are 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.)


Woow HUGE thanks!


Forgot 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.


Oh geez. How did you even figure this one out?


This 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


What are your recommended brands of USB chargers?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: