chewitt has joined #armbian-amlogic
<chewitt> IgorPec: do you have the BPI-M2 pro board for testing?
<Armbian-Discord> <I​gorPec> chewitt: i have it somewhere, yes
<Armbian-Discord> <I​gorPec> its in the rack for testing auto upgrades
<chewitt> Is it a complete clone of the M5?
<chewitt> documentation says so, but .. BPI documentation isn't always the best thing :)
<chewitt> RTL8821BU is internal USB connected not SDIO?
<chewitt> do you have a boot log from a recent kernel?
<Armbian-Discord> <n​armstrong> yep M2 Pro has a USB Wifi in addition to M5, but lacks the audio/cvbs jack
<Armbian-Discord> <n​armstrong> so M2 Pro should have the WIFI EN gpio set to enable wifi, and remove analog audio out + composite output
<Armbian-Discord> <n​armstrong> let me prepare something while i'm hot !
<chewitt> I started already..
<Armbian-Discord> <n​armstrong> damn
<Armbian-Discord> <n​armstrong> you forgot to leave cvbs-connector into the m5 only
<Armbian-Discord> <n​armstrong> and remove the analog audio for the m2 pro
<Armbian-Discord> <n​armstrong> and add a gpio hog to enable the wifi for the m2 pro
<chewitt> yup, doing those now
<chewitt> m5 dts fixed, now onto m2-pro
<chewitt> ^ hog is already there, no?
<Armbian-Discord> <n​armstrong> yes for the hub, but a ned one is needed for wifi on GPIOAO_3
<Armbian-Discord> <n​armstrong> wait, there's a pull-up
<Armbian-Discord> <n​armstrong> no need then
chewitt has quit [Quit: Zzz..]
chewitt has joined #armbian-amlogic
<chewitt> IgorPec: would you be able to test the three commits here please: https://github.com/chewitt/linux/commits/m2-pro
<chewitt> they should apply clean onto 6.1.x or 6.2.x
<Armbian-Discord> <I​gorPec> ok, have meetings until late, can check in the evening fastest
<Armbian-Discord> <r​pardini> chewitt: we've (empirically) determined the M5 likes the 270 clock phase... I've added https://github.com/armbian/build/blob/master/patch/kernel/archive/meson64-6.2/board-bananapim5-sd-use-270-mmc-clock-phase-via-dt.patch which hacks DT, made effective into meson-gx-mmc by Vyacheslav's rejected-by-Jerome
<Armbian-Discord> https://github.com/armbian/build/blob/master/patch/kernel/archive/meson64-6.2/general-meson-mmc-1-arm64-amlogic-mmc-meson-gx-Add-core-tx-rx-eMMC-SD-SD.patch -- dunno if this would also apply to the M2-Pro, or how badly we missed the point here.
<chewitt> I'll need to boot test my changes on M5 in a bit, so will see what works/not-works for me using my kernel tree and current u-boot
<chewitt> IgorPec: no rush, but would appreciate the results - if all good I can send the device-tree upstream
<Armbian-Discord> <r​pardini> nice. I think the need for 270 only appears with faster SD cards / modes; slower non-HS stuff works with standard clock phase.
chewitt has quit [Quit: Zzz..]
chewitt has joined #armbian-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #armbian-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #armbian-amlogic
<chewitt> I can't get uart output (might have wrong pins, not sure) but it booted an LE image and then it craps out and resets/reboots
<chewitt> hard to see why without the uart
<chewitt> will try another SD card..
<Armbian-Discord> <T​enkawa> @chewitt: was that you or narmstrong that made the n2l mainline uboot conversion yesterday avail?
<Armbian-Discord> <T​enkawa> fyi I tested it here and it works
<chewitt> it was neil
<Armbian-Discord> <n​armstrong> @Tenkawa thx for the reporting !
<Armbian-Discord> <T​enkawa> np
<Armbian-Discord> <T​enkawa> thank you for making the update
Armbian-Discord has quit [Remote host closed the connection]
Armbian-Discord has joined #armbian-amlogic