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 has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC> <rpardini> I've been fooled many times and every board has surprises... Turns out on some boards there might one or two of:
<DC-IRC> <rpardini> - one called "recovery" or such. is just a gpio. vendor u-boot reads the gpio and if pressed when uboot comes on, it goes into "rockusb loader" mode (a bad rk version of UMS) instead of booting. in this case SPL is already loaded. if you bork the spl, this doesn't work anymore.
<DC-IRC> <rpardini> - one called "maskrom" or just some contact points. this usually shorts the eMMC clk to ground, thus making the eMMC-not-work, which forces the bootrom into proper "maskrom" mode (to which you must first send an SPL, then later can do RK WriteLba etc)
<DC-IRC> <infinity_q> are there any pre-built Deb pkgs for the rkr5.1 kernel (headers, dtbs, image)? thanks
<DC-IRC> <lanefu> flag change was merged this morning.... just need to build yourself TBH
<DC-IRC> <igorpec> I think nigtly are already with that. Otherwise i can restart CI to be sure
<DC-IRC> <igorpec> yes, images were done after
<DC-IRC> <infinity_q> I'm just having an issue compiling the kernel on on unsupported platform. so I was wondering if there was pre-built packages
<DC-IRC> <igorpec> yes, on the download page, below, there are auto build images
<DC-IRC> <infinity_q> just the kernel
<DC-IRC> <igorpec> currently not, as we are refactoring repo
<DC-IRC> <infinity_q> OK, thanks
<DC-IRC> <igorpec> whole image only at this stage ...
<DC-IRC> <tenkawa42> @infinity_q which unsupported platform?
<DC-IRC> <infinity_q> more like an unsupported OS. if that's clearer
<DC-IRC> <tenkawa42> Ok.. what supported os? There's ways to make those be able to build... I can run the builder in Windows WSL2
<DC-IRC> <tenkawa42> You can run it in a chroot
<DC-IRC> <tenkawa42> Its fairly easy unless you are running "no" Linux layers under it at all
<DC-IRC> <infinity_q> for some reason I can't build it in ArchlinuxARM, I've built it before without problems. now it throws me a media-i2c error
<DC-IRC> <tenkawa42> What you need to do is setup a debian bootstrap environment on the box and bind mount /sys /dev /dev/pts and /proc then you should be able to chroot into it and run it fine
<DC-IRC> <infinity_q> but I need to install it afterwards with make install
<DC-IRC> <infinity_q> eh, I'll probably figure it out sometime. thanks
<DC-IRC> <tenkawa42> actually if you use the debian bootstrap you can cp the compiled source out... linux kernel sources are made to be agnostic of distribution if you use make... don't use the dpkg tools
<DC-IRC> <tenkawa42> I have a script that runs modules_install, dtb_install, install, then copies the Image file to the appropriate location
<DC-IRC> <tenkawa42> I have a script that runs modules_install, dtbs_install, install, then copies the Image file to the appropriate location
<DC-IRC> <infinity_q> yeah, I have a pre-built source tree that I backed up, Ima see if that works
<DC-IRC> <infinity_q> since it's virtually the same host
<DC-IRC> <infinity_q> rn I'm learning how to use sgdisk, so I can make a script that'll make my arch install process a little easier
<DC-IRC> <microlinux> Shorting emmc is the way to go for me