lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
<DC-IRC>
[Discord] <human_urostor> I can't seem to build the amdgpu kernel module on the Rockchip kernel (6.1.115). Is this a known issue? Builds fine on mainline 6.14
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC>
[Discord] <gospod13337> Im no kernel expert or compiling expert, but im wondering why do you think building **amdgpu** module on **rockchip** kernel **could** be a **known** issue?
<DC-IRC>
[Discord] <gospod13337> Did you try building on stock debian 6.1 kernel?
<DC-IRC>
[Discord] <gospod13337> Did you try building on stock debian 6.1 kernel and was it successful?
<DC-IRC>
[Discord] <gospod13337> Im just trying to understand if im missing something
<DC-IRC>
[Discord] <gospod13337> I know that LIO fileio module is not built into vendor 6.1 kernel here, while in stock debian 6.1 it is
<DC-IRC>
[Discord] <Werner> If I had to guess I'd say rockchip broke amdgpu while heavily messing with the kernel to make their stuff work
<DC-IRC>
[Discord] <gospod13337> Me also
<DC-IRC>
[Discord] <gospod13337> I would also think that
<DC-IRC>
[Discord] <gospod13337> Whats the use case for your amd gpu on rockchip board?
<DC-IRC>
[Discord] <Werner> I'll do a quick test if I can reproduce
<DC-IRC>
[Discord] <gospod13337> Ah, didnt know its built into kernel
<DC-IRC>
[Discord] <gospod13337> Got lucky myself that fileio was not broken then
<DC-IRC>
[Discord] <Werner> amdgpu.cs.c seems fine. No modifications. So rk probably messed up the scheduler or the driver was never intended to run on arm. Dunno
<DC-IRC>
[Discord] <human_urostor> Oh 😦
<DC-IRC>
[Discord] <human_urostor> Thanks for testing, I wanted to upload the log but went to sleep
<DC-IRC>
[Discord] <human_urostor> Because many people build Linux for many purposes, amdgpu is known to work on raspberry pi, so I thought people tried it on Rockchip too
<DC-IRC>
[Discord] <human_urostor> Noob question. If I just copied contents of the amdgpu folder from 6.14 mainline to 6.1, would it break the building process in any way? I know very little about how make works. I had the same error as Werner.
<DC-IRC>
[Discord] <human_urostor> Noob question. If I just copied contents of the amdgpu folder from 6.14 mainline to 6.1rk, would it break the building process in any way? I know very little about how make works. I had the same error as Werner.
<DC-IRC>
[Discord] <human_urostor> Trying to make it work for fun
Herc has left #armbian-rockchip [Leaving]
Herc has joined #armbian-rockchip
<DC-IRC>
[Discord] <mecoblock> check my rockchip pcie repo under issues I think someone also tried and gpu
<DC-IRC>
[Discord] <mecoblock> check my rockchip pcie repo under issues I think someone also tried amd gpu
<DC-IRC>
[Discord] <human_urostor> Found it. They used mainline, I'd prefer this of course but it is quite tricky on Rock 2.
<DC-IRC>
[Discord] <efectn> If you unplug the sd card will it boot into mmc
<DC-IRC>
[Discord] <jakesays> @efectn that last one was done w/o an sdcard installed
<DC-IRC>
[Discord] <efectn> Can you boot from sd card and set devicetree to 5b from bootenv?
<DC-IRC>
[Discord] <efectn> Then install legacy uboot to mmc using armbian install
<DC-IRC>
[Discord] <voido76> Hey everyone, I sincerely apologize for asking newbie question here. I'm trying to install Armbian to NVME on Nanopi M6, but so far no luck. Armbian-config does not propose it in the desination list - only eMMC(which is also installed). I see this - https://github.com/armbian/build/pull/7652, does it mean that it's somewhat not implemented?
<DC-IRC>
[Discord] <jakesays> @efectn yeah i'll do that now
<DC-IRC>
[Discord] <voido76> Hey everyone, I sincerely apologize for asking newbie question here. I'm trying to install Armbian to NVME on Nanopi M6, but so far no luck. Armbian-config does not propose it in the desination list - only eMMC(which is also installed). I see this - https://github.com/armbian/build/pull/7652, does it mean that it's somewhat not implemented to publicly available builds?
<DC-IRC>
[Discord] <jakesays> @efectn ok so i just inserted my sd card, booted, and it booted to the emmc.
<DC-IRC>
[Discord] <jakesays> i do not understand
<DC-IRC>
[Discord] <efectn> Yeah it seems like mainline uboot doesn't support emmc boot because mmc node is not enabled
<DC-IRC>
[Discord] <efectn> It will work provides that it is enabled, but have to check if it breaks opi5 spi boot
<DC-IRC>
[Discord] <efectn> Do you have spi plugged?
<DC-IRC>
[Discord] <voido76> Ehhh... no. I need a separate module for this to work?..
<DC-IRC>
[Discord] <voido76> Yes, did that for science.
<DC-IRC>
[Discord] <menu> same behaviour? installs full system to SD instead of NVMe?
<DC-IRC>
[Discord] <voido76> No matter what I do, it boots me to eMMC 😦
<DC-IRC>
[Discord] <jakesays> @efectn so i rebooted without changing anything, and it booted to sd card.
<DC-IRC>
[Discord] <voido76> I can try unplugging the eMMC and try installing it, but I think it will boot me to SD cards.
<DC-IRC>
[Discord] <voido76> I can try unplugging the eMMC and try installing it, but I think it will boot me to SD card.
<DC-IRC>
[Discord] <efectn> I will just create new board config for 5b, we better split them as i am unable to test
<DC-IRC>
[Discord] <menu> i would *hope* that option 1 - boot: SD sys: NVMe would at least behave correctly
<DC-IRC>
[Discord] <jakesays> i dont understand why it would switch to sdcard
<DC-IRC>
[Discord] <voido76> Let me try that. I will unplug eMMC.
<DC-IRC>
[Discord] <efectn> I meant uart uboot logs if you have one
<DC-IRC>
[Discord] <efectn> Does Armbian-install copy files to nvme?
<DC-IRC>
[Discord] <voido76> No, it's like untouched.
<DC-IRC>
[Discord] <voido76> I don't 😦
<DC-IRC>
[Discord] <menu> if boot: SD sys: NVMe works to get the armbian system onto the NVMe, *potentially* reconnecting the eMMC post-install and option 6 boot: eMMC *may* create the correct system
<DC-IRC>
[Discord] <efectn> Seems like armbian-install fault
<DC-IRC>
[Discord] <voido76> lsblk shows 110 gigs
<DC-IRC>
[Discord] <efectn> The code really needs to be refactored
<DC-IRC>
[Discord] <menu> i have seen this before
<DC-IRC>
[Discord] <menu> if you blow away the partition table on the NVMe, then create a new GPT table but don't create any partitions, does this change?
<DC-IRC>
[Discord] <voido76> One moment.
<DC-IRC>
[Discord] <menu> (iirc i ended up dd-ing the entire system to get around this)
<DC-IRC>
[Discord] <voido76> nah, same error
<DC-IRC>
[Discord] <Werner> I had a similar issue once but was entirely my fault. The target partition was still mounted somewhere 😂
<DC-IRC>
[Discord] <efectn> Maybe you better copy system to nvme manually instead of armbian install
<DC-IRC>
[Discord] <voido76> Yeah, okay. What about SPI flash? If I solder it, will I be able to boot with it + NVME? (theoretically). Which exactly module I need to buy?
<DC-IRC>
[Discord] <voido76> I want to get rid of eMMC.
<DC-IRC>
[Discord] <efectn> You can but you don't need
<DC-IRC>
[Discord] <menu> option 5 *should* boot with no eMMC *or* NVMe i believe?
<DC-IRC>
[Discord] <menu> to use eMMC for just the bootloader you'll probably need to erase the system that's installed on it, then install just the bootloader
<DC-IRC>
[Discord] <voido76> Getting the size error again. I guess something is cursed in my m6.
<DC-IRC>
[Discord] <n4cnr> ?
<DC-IRC>
[Discord] <n4cnr> I run the os on my emmc and user dir and build system on nvme
<DC-IRC>
[Discord] <n4cnr> that way things stay clean