Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo on orangepi3 uboot use genkernelbuildthekernel[slove]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
vastchen
n00b
n00b


Joined: 22 Apr 2016
Posts: 55

PostPosted: Mon Aug 02, 2021 3:08 am    Post subject: gentoo on orangepi3 uboot use genkernelbuildthekernel[slove] Reply with quote

gentoo on orange pi3 uboot use genkernel build the kernel no load rootfs

I use armbian img dd in sd card . then fdisk use armbian boot /lib/modules install gentoo.

it work well

but i want to build the kernel for gentoo .no change uboot only build the kernel

/boot/armbianEnv.txt
verbosity=1
bootlogo=false
console=both
disp_mode=1920x1080p60
overlay_prefix=sun50i-h6
rootdev=UUID=c2c5aa5b-15e3-4617-a5fd-b9f261dd6322
rootfstype=BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic
rootdev=LABEL=ROOTFS
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

have the armbianEnv.txt can load the kernel

use zcat /proc/config.gz > kernel.conf

use genkernel build the kernel armbian git sources orange-pi-5.10

use mkimage -A arm64 -O linux -T ramdisk -C none -a 0 -e 0 -d /boot/initramfs-`make kernelrelease` uInitrd-`make kernelrelease`

make dtbs and cp /boot

Code:

genkernel 4.2.3 Linux kernel 5.10.10-arm64
Activating udev ...
Determining root device (tring UUID=.....)......
Block device UUID=..... is not a valid rooot device
Could not find the root block device in UUID ......
[/url]
I'm sure the UUID is right when i change armbian kernel dtb it can load in systemd .but change I build the kernel problem like that.somebody know that?


can see the picture https://pan.baidu.com/s/1JwFaf3UG6cTiuHrAOJqcBQ
code :4321
_________________
gentoo user


Last edited by vastchen on Sat Aug 07, 2021 3:55 am; edited 1 time in total
Back to top
View user's profile Send private message
vastchen
n00b
n00b


Joined: 22 Apr 2016
Posts: 55

PostPosted: Sat Aug 07, 2021 3:54 am    Post subject: Reply with quote

Slove it is TQC chinese 泰奇猫.

It is not real orange pi3 is same the hardware。with Virtual cryptocurrency collapse 。it is very cheap i buy i only 40rmb same raspberry 3 orangepi 3 need more than 200rmb.
it is base sunxi h6. so it need new dtb i found 1 can use wlan eth is no way . But this problem .need Creating Initramfs rootfs File . i mv gentoo /lib/modules into armbian
Initramfs it work now .
_________________
gentoo user
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum