Closed tina-junold closed 6 months ago
seems it was fixed but not work anymore: https://github.com/armbian/build/issues/5381
Jira ticket: AR-2030
It looks like syntax / git url error on your side. Try this for example:
./compile.sh kernel BOARD=uefi-arm64 BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=yes CLEAN_LEVEL=make,debs,oldcache DEST_LANG=de_DE.UTF-8 EXTERNAL_NEW=prebuilt KERNELBRANCH=branch:rk3588-v6.7 KERNELSOURCE=https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux RELEASE=bookworm EXTRAWIFI=no
@igorpecovnik this is compiling, but this kernel source is not working for my nanopct4/rk3399, isn't it? I try do set BOARD correctly but patching failed:
[๐จ] โญโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
[๐จ] โ Patch โ Patching output โ Rejects โ
[๐จ] โโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
[๐จ] โ rk356x-vop2-support โ patching file โ --- โ
[๐จ] โ โ "drivers/gpu/drm/rockchip/dw_hdm โ drivers/gpu/drm/rockchip/dw_hdmiโฆ โ
[๐จ] โ โ i-rockchip.c" โ +++ โ
[๐จ] โ โ Hunk #1 succeeded at 228 (offset โ drivers/gpu/drm/rockchip/dw_hdmiโฆ โ
[๐จ] โ โ 136 lines). โ @@ -192,6 +180,7 @@ static const โ
[๐จ] โ โ Hunk #2 succeeded at 317 (offset โ struct dw_hdmi_phy_config โ
[๐จ] โ โ 136 lines). โ rockchip_phy_config[] = { โ
[๐จ] โ โ Hunk #3 FAILED at 192. โ { 74250000, 0x8009, 0x0004, โ
[๐จ] โ โ Hunk #4 succeeded at 1283 โ 0x0272}, โ
[๐จ] โ โ (offset 1038 lines). โ { 148500000, 0x802b, 0x0004, โ
[๐จ] โ โ 1 out of 4 hunks FAILED -- โ 0x028d}, โ
[๐จ] โ โ saving rejects to file โ { 297000000, 0x8039, 0x0005, โ
[๐จ] โ โ "/tmp/tmpjsak_7nj" โ 0x028d}, โ
[๐จ] โ โ โ + { 594000000, 0x8039, 0x0000, โ
[๐จ] โ โ โ 0x019d}, โ
[๐จ] โ โ โ { ~0UL, 0x0000, 0x0000, โ
[๐จ] โ โ โ 0x0000} โ
[๐จ] โ โ โ }; โ
[๐จ] โ โ โ โ
[๐จ] โ โ โ โ
[๐จ] โฐโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
I try to create a build that enables me to use the camera modules in combination with crownest. I try to use this documentation and custom patches as source: https://github.com/initBasti/NanoPC-T4_armbian_configuration
but this kernel source is not working for my nanopct4/rk3399, isn't it?
It looks that way. Armbian build framework is a tool and we support its functioning. I proved you its nothing wrong on our side. At least not in this context.
I try to create a build that enables me to use the camera modules in combination with crownest.
If you don't know how to proceed from here, you need to invest some time into learning. Perhaps try to contact that person, make some bond with Armbian community and try together bringing the code into main code. We (Armbian maintainers) have no resources to get involved into hw / 3rd party problems. Problem you have might not be that trivial. You will need to invest some time and get familiar with, start with some simple problem, learn how to interpret logs, ... Nothing here is Armbian specific - doing by hand would be similar problematic, just taking more time. Its general research and development, thus user's problem. I am truly sorry.
What happened?
try to build (on my nanopc-t4: Armbian 23.8.1 Bookworm with Linux 6.1.63-current-media) for nanopc-t4 with custom kernel source, getting this error
How to reproduce?
./compile.sh build BOARD=nanopct4 BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=yes CLEAN_LEVEL=make,debs,oldcache DEST_LANG=de_DE.UTF-8 EXTERNAL_NEW=prebuilt KERNELBRANCH=branch:master KERNEL_CONFIGURE=yes KERNELSOURCE=https://git.linuxtv.org/media_tree.git RELEASE=bookworm
Branch
main (main development branch)
On which host OS are you observing this problem?
Other
Relevant log URL
No response
Code of Conduct