Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dietpi on Rockchip RK3066 #7090

Open
actraiser30 opened this issue May 26, 2024 · 4 comments
Open

Dietpi on Rockchip RK3066 #7090

actraiser30 opened this issue May 26, 2024 · 4 comments

Comments

@actraiser30
Copy link

Hello

I have a similar sbc like the Marsboard pro

With the Rockchip RK3066

If I try to Install dietpi manual is this chipset supported???

Thanks

@MichaIng
Copy link
Owner

MichaIng commented Jun 3, 2024

DietPi is mostly userland composition, so the question is more whether you have a kernel and bootloader for this SBC/SoC. We use the Armbian build system for our kernel and bootloader packages in most cases. I checked the 32-bit Rockchip kernel and it does have device trees for 4 RK3066 SBCs:
image

AFAIK, Armbian does not support any of those, but mainline Linux obviously does: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/rockchip
If your's is among them, you only need a bootloader source. Mainline U-Boot supports the Marsboard, at least: https://github.com/u-boot/u-boot/blob/master/configs/marsboard_defconfig

If you have a booting image and want to run dietpi-installer on it, take care that the kernel remains installed, if it is an APT package. Our installer removes unknown APT packages quite radically.

... thinking about it, I just have a great idea how to prevent that for kernel packages explicitly. Hang on 😄.
EDIT: With this change, it should work better: 43770fe

@actraiser30
Copy link
Author

actraiser30 commented Jun 16, 2024

Mine is the mk808,Thanks a lot

Now I have to figure out how to load a Linux image in it, if I can find any :/

Is there a DietPi "generic" image to include boot files like these ones for Rockchip rk3066

To work in unsupported arm boards like mine?

Since there is not Armbian for my board..

Are there plans to do one in the Future?

Thanks

@MichaIng
Copy link
Owner

In the ARM world, something like a generic image which boots on every SBC/chip does not exist. It always requires individual drivers and the device tree (not only Linux, but the U-Boot image as well). As there is an mk808 device tree in the Linux image, that one should theoretically work. And luckily, mainline U-Boot has a config for this board as well: https://github.com/u-boot/u-boot/blob/master/configs/mk808_defconfig

@actraiser30
Copy link
Author

Yes,but I don't know how to do all this to work.and in what image how and where I put the uboot/config etc.
By generic i mean the older devices only that dietpi have not an image or the image is discontinued.
"generic for old boards" for 3 or 4 boards like cubieboard 1,2,mk802,mk808 etc.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants