<Armbian-Discord> <P​ridetoons> Does Armbian run on Amlogic A311D2 SBC'S like the Khadas Vim 4?
<Armbian-Discord> <I​gorPec> no
<Armbian-Discord> <P​ridetoons> Waah! 😢
<Armbian-Discord> <P​ridetoons> @IgorPec Is any work being done to get Armbian running on the KV4.
<Armbian-Discord> <I​gorPec> why?
<Armbian-Discord> <M​anoftheSea> Are you asking to deconflict efforts, because you'd like to work on it? Or are you just hoping someone is giving you something free?
<Armbian-Discord> <T​onymac32> @ManoftheSea Can't it simply be a question and an expression disappointment?
<Armbian-Discord> <T​onymac32> 😄
<Armbian-Discord> <M​anoftheSea> No, it has to be a call to action to make things better.
<Armbian-Discord> <d​sx724> @Pridetoons there's no major sponsors of A311D2's upstream at the moment
<Armbian-Discord> <d​sx724> so someone would have to hack Amlogic's SDK to make a frankenstein
<Armbian-Discord> <M​anoftheSea> For real, yes, it can just be "do you know if there's going to be anything soon because I'm excited."
<Armbian-Discord> <T​onymac32> I generally give the benefit of the doubt. We have 1 Igor, it's enough 😉
<Armbian-Discord> <P​ridetoons> @dsx724 Ah that's sad I was just interested. Thank You for answering me.
<Armbian-Discord> <T​onymac32> but, like dsx724 says, and more than a few of us here won't mess with the nasty Vendor kernels
<Armbian-Discord> <T​onymac32> holds back a gag reflex
<Armbian-Discord> <T​onymac32> 😄
<Armbian-Discord> <d​sx724> Amlogic is only interested in getting pinctrl and interrupts in the kernel. Everything else is out of tree.
<Armbian-Discord> <s​repac> SPI firmware update completed
<Armbian-Discord> <s​repac> wish me luck.. I'm going to try the armbian image again to USB flash
<Armbian-Discord> <d​sx724> @srepac let me know if it doesn't boot
<Armbian-Discord> <d​sx724> I'm not sure Armbian will work. CMA issue maybe.
<Armbian-Discord> <d​sx724> Give it a go. Armbian might try too large of a CMA.
<Armbian-Discord> <s​repac> which images do you want me to try?
<Armbian-Discord> <s​repac> url?
<Armbian-Discord> <d​sx724> if this does not boot, I have a setting to change. if this does boot and Armbian doesn't boot, then it's a CMA issue that needs to be fixed.
<Armbian-Discord> <c​0rnelius> Meson64 should be using the default CMA. I did a PR for that a whiles ago.
<Armbian-Discord> <d​sx724> @c0rnelius I think there's also a bug in upstream u-boot when not booting EFI that causes a crash. We use bootefi and Armbian uses bootm so Armbian might have an issue there.
<Armbian-Discord> <c​0rnelius> Is this on low memory boards in general or this particular SoC. I haven't personally noticed any bugs booting both ways. I don't have anything with less then 2GBs though.
<Armbian-Discord> <c​0rnelius> the only 805 i have is the odroid c1 and that is stuck on that old vendor uboot so can't do any testing there.
<Armbian-Discord> <d​sx724> can you use the latest official images @srepac
<Armbian-Discord> <d​sx724> I hate repeating myself
<Armbian-Discord> <s​repac> I tried the official images from libre computer https://libre.computer/products/s805x/ and on armbian https://www.armbian.com/la-frite/#kernels-archive-all
<Armbian-Discord> <s​repac> none of them work
<Armbian-Discord> <d​sx724> I sent you the link...
<Armbian-Discord> <s​repac> yes, I'm downloading what you sent me right now
<Armbian-Discord> <T​onymac32> default CMA is still 256 MB
<Armbian-Discord> <T​onymac32> with 512 available in the first place that might still be an issue
<Armbian-Discord> <s​repac> so, should I just chuck this sbc then?
<Armbian-Discord> <T​onymac32> trying to find where I recommended such an action
<Armbian-Discord> <T​onymac32> debugging requires a little thinking, sorry I said anything
<Armbian-Discord> <T​onymac32> lol
<Armbian-Discord> <s​repac> after spending too much time on this, that would be my recommendation
<Armbian-Discord> <T​onymac32> yeah, without one to test, I can't really say for sure what's up
<Armbian-Discord> <T​onymac32> the 1 GB boots, so it gives me 2 options: 1) the low ram is a problem or 2) you have a damaged board
<Armbian-Discord> <T​onymac32> just for sanity I'm burning one now for boot to see
<Armbian-Discord> <d​sx724> or just maybe use the official image from the official website?
<Armbian-Discord> <s​repac> getting somewhere... but it just results in black screen
<Armbian-Discord> <d​sx724> TC358743 is the Pi KVM IC
<Armbian-Discord> <d​sx724> Do you have a regular HDMI monitor or way to dump the EDID?
<Armbian-Discord> <s​repac> no.. I use usb dongle as it's more functional
<Armbian-Discord> <d​sx724> 1280x720 is a supported resolution
<Armbian-Discord> <d​sx724> try SSHing to the box
<Armbian-Discord> <d​sx724> sorry, not SSH, you need to setup the cloud-init to connect via SSH
<Armbian-Discord> <s​repac> I would if the board actually got a dhcp address but the board didn't even get an IP
<Armbian-Discord> <d​sx724> let me check something, one sec
<Armbian-Discord> <T​onymac32> ok, My USB2 capture dongle does exactly what srepac shows
<Armbian-Discord> <T​onymac32> my BENQ 1080p monitor works
<Armbian-Discord> <s​repac> let me connect the la-frite board to a hdmi monitor later and will let you know
<Armbian-Discord> <T​onymac32> must be edid of the adapter being grouchy, experimenting with not plugging in hdmi until it boots
<Armbian-Discord> <d​sx724> @srepac I don't have a 512MB board to test but I did limit memory on the kernel to 512M. It came up fine.
<Armbian-Discord> <d​sx724> if you have the edid of your Pi KVM, it would also be good to have so we can test against it
<Armbian-Discord> <T​heBug> Isn't the lowest common denominator for troubleshooting this to throw on an USB TTL Serial adapter... they are like $4 ... save you so much headaches... and then you know actually what is happening?
<Armbian-Discord> <T​heBug> or did I miss where that didn't work for some reason
<Armbian-Discord> <T​onymac32> shrugs I once performed brain surgery remotely using a robotic arm made by Mattel
<Armbian-Discord> <T​heBug> really? still have it, I would like to borrow it...
<Armbian-Discord> <T​onymac32> hahaha
<Armbian-Discord> <s​repac> found the problem... the /boot/firmware/cmdline.txt was using mmcblk0p2 instead of sda2... as soon as I fixed that, the lafrite board is now booted
<Armbian-Discord> <s​repac> what's the default root/pass for this image?
<Armbian-Discord> <d​sx724> ubuntu/ubuntu
<Armbian-Discord> <d​sx724> it is configurable via cloud-init after you burn the image.
<Armbian-Discord> <d​sx724> good call, this was originally designed to be burned to the eMMC.
<Armbian-Discord> <s​repac> lol.. I can login as ubuntu/ubuntu, but get prompted to change password, I change it, but it doesn't work
<Armbian-Discord> <d​sx724> you have to type ubuntu 3 times
<Armbian-Discord> <d​sx724> that's just how Linux getty works
<Armbian-Discord> <d​sx724> with expired passwords
<Armbian-Discord> <d​sx724> cmdline.txt shouldn't be needed, our images doesn't read cmdline.txt anyways
<Armbian-Discord> <d​sx724> that's a raspberry pi thing
<Armbian-Discord> <s​repac> Authentication manipulation error when changing password
<Armbian-Discord> <d​sx724> typed the password wrong probably
<Armbian-Discord> <s​repac> no
<Armbian-Discord> <d​sx724> if the old and new password don't match, it will give that error
<Armbian-Discord> <d​sx724> or rather the new password and the retype new password
<Armbian-Discord> <s​repac> this is so dumb... the image mounts / in ro
<Armbian-Discord> <s​repac> it's btrfs mounted ro
<Armbian-Discord> <s​repac> that's why it doesn't work changing password
<Armbian-Discord> <c​0rnelius> just can't catch a break with this board.
<Armbian-Discord> <s​repac> lol.. I'm about to shoot it to pieces
<Armbian-Discord> <c​0rnelius> I have an original N2 2GB that gives me a lot of trouble. Basically its pretty much garbage, but every so often I try to make it work. Only thing it kind of does well is run CoreELEC, but even that it does half ass.
<Armbian-Discord> <s​repac> I'm going to try another image now that I at least know what to fix
<Armbian-Discord> <c​0rnelius> what kernel version is that running?
<Armbian-Discord> <s​repac> I mounted the usb flash on another pi and copied /etc/passwd, /etc/group, and /etc/shadow entries for pi user.. also created home dir for pi user and changed perms
<Armbian-Discord> <s​repac> 5.19.15
<Armbian-Discord> <c​0rnelius> just checking. 6.0 has issues with putting the / in to read-only mode. never seen it happen on 5.19.y using btrfs though.
<Armbian-Discord> <c​0rnelius> so I'm gonna assume thats not a thing 🙂
<Armbian-Discord> <s​repac> well, this is someone's image they told me to use
<Armbian-Discord> <s​repac> and it's back to black screen after reboot
<Armbian-Discord> <s​repac> root@aml-s805x-ac:~# timedatectl Local time: Tue 2022-10-18 23:38:48 UTC Universal time: Tue 2022-10-18 23:38:48 UTC RTC time: n/a Time zone: Etc/UTC (UTC, +0000) System clock synchronized: yes NTP service: active RTC in local TZ: no root@aml-s805x-ac:~# I finally got it working somewhat how I want it
<Armbian-Discord> <s​repac> /etc/fstab was empty which is why it defaulted to mounting btrfs for / as readonly
<Armbian-Discord> <s​repac> I may be able to install pikvm on this thing after all
<Armbian-Discord> <s​repac> of course, I'm going to need a usb hub to connect the usb hdmi capture and the usb bootable flash... coz the other usb port is used for OTG
<Armbian-Discord> <s​repac> stay tuned
<Armbian-Discord> <c​0rnelius> was it not setup to use a subvolume @ ?
<Armbian-Discord> <s​repac> wow.. this thing actually runs up to 1.416GHz on all 4 cores