Page 1 of 1

Installing custom u-boot and kernel on NEO4

Posted: Sun Dec 09, 2018 9:30 pm
by lightdark
Right now, I managed to flash an Arch Linux rootfs to an eMMC card and it loads perfectly, although I've tried replacing the existing uboot and kernel with no success. While most guides for the rockchip say to directly add these images to the mmcblk1 disk, the NEO4 shows separate mmcblk1boot0 and mmcblk1boot1 disks, and I'm not quite sure what should go where.

To clarify, right now I'm booted using the lubuntu kernel, although I'm running a different rootfs.

I'm trying to determine what changes I'd need to make in order to run a different kernel on my chip. I assume that the regular rockchip kernel won't work and that I have to use the friendlyelec version instead, although I'm not quite sure where I should start.

Some guidance on this would be helpful, and once I figure out how to do this I'd be more than happy to write up the documentation somewhere.

Re: Installing custom u-boot and kernel on NEO4

Posted: Mon Dec 10, 2018 12:33 pm
by igorp
lightdark wrote:
Right now, I managed to flash an Arch Linux rootfs to an eMMC card and it loads perfectly, although I've tried replacing the existing uboot and kernel with no success. While most guides for the rockchip say to directly add these images to the mmcblk1 disk, the NEO4 shows separate mmcblk1boot0 and mmcblk1boot1 disks, and I'm not quite sure what should go where.

To clarify, right now I'm booted using the lubuntu kernel, although I'm running a different rootfs.

I'm trying to determine what changes I'd need to make in order to run a different kernel on my chip. I assume that the regular rockchip kernel won't work and that I have to use the friendlyelec version instead, although I'm not quite sure where I should start.

Some guidance on this would be helpful, and once I figure out how to do this I'd be more than happy to write up the documentation somewhere.


You can build your own kernel https://github.com/armbian/build
- adjusted stock
- experimental mainline 4.19.y

Re: Installing custom u-boot and kernel on NEO4

Posted: Mon Dec 31, 2018 7:23 pm
by lightdark
igorp wrote:
You can build your own kernel https://github.com/armbian/build
- adjusted stock
- experimental mainline 4.19.y

Right, I already have a built kernel. I'm not quite sure where I should flash the image. Please see my original post.

Re: Installing custom u-boot and kernel on NEO4

Posted: Tue Jan 01, 2019 2:04 am
by shivaa
how can I build my own kernel please ?