You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have spent some time trying to compile the upstream kernel for my VisionFive2 with the options that I would like it to have. However, it won't boot.
After much trial and error, I can rule out SBI, uBoot, it's uEnv.txt file and even extlinux (although I had to adjust /etc/default/u-boot and manually add fdtdir /dtbs).
I followed the description in the README, making sure that the VisionFive specific parameters are in fact set:
root@riscboi /o/linux (JH7110_VisionFive2_upstream) # echo; for k in SOC_STARFIVE CLK_STARFIVE_JH7110_SYS PINCTRL_STARFIVE_JH7110_SYS SERIAL_8250_DW; echo "--> $k"; cat .config | grep $k; end
--> SOC_STARFIVE
CONFIG_SOC_STARFIVE=y
CONFIG_SND_SOC_STARFIVE=y
--> CLK_STARFIVE_JH7110_SYS
CONFIG_CLK_STARFIVE_JH7110_SYS=y
--> PINCTRL_STARFIVE_JH7110_SYS
CONFIG_PINCTRL_STARFIVE_JH7110_SYS=y
--> SERIAL_8250_DW
CONFIG_SERIAL_8250_DWLIB=y
CONFIG_SERIAL_8250_DW=y
I also checked for JH7110 and STARFIVE in general:
(I commented out the script parts, because I was taking this from the network booting example. This is also the config currently being booted whilst I grabbed files off it; but it's currently in the 5.15 kernel.)
Thank you very much, good luck with the patch merging into upstream and kind regards,
Ingwie
The text was updated successfully, but these errors were encountered:
Hello there!
I have spent some time trying to compile the upstream kernel for my VisionFive2 with the options that I would like it to have. However, it won't boot.
After much trial and error, I can rule out SBI, uBoot, it's uEnv.txt file and even extlinux (although I had to adjust
/etc/default/u-boot
and manually addfdtdir /dtbs
).I followed the description in the README, making sure that the VisionFive specific parameters are in fact set:
I also checked for JH7110 and STARFIVE in general:
Aside from the audio module being built as a shared module, nothing stuck out to me here.
Is there something I am missing? I did use the existing defconfig and just added my own settings through
menuconfig
.Here is the full config (
kernel-config.txt
) and resulting debian packages:upstream-build.tar.gz
In addition, here is my current
uEnv.txt
:(I commented out the script parts, because I was taking this from the network booting example. This is also the config currently being booted whilst I grabbed files off it; but it's currently in the 5.15 kernel.)
Thank you very much, good luck with the patch merging into upstream and kind regards,
Ingwie
The text was updated successfully, but these errors were encountered: