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>
<gambl0r> anyone know if it's possible to boot from USB on an orange pi 4 lts? I suspect it is, but I don't get HDMI output of uboot
<DC-IRC>
<gambl0r> also, I'm just building a new image and the build is using 1 cpu core 😦 qemu-binfmt
<DC-IRC>
<gambl0r> hmmmm, I think I need to start again from scratch
<DC-IRC>
<gambl0r> this is what I ran: `./compile.sh BOARD=orangepi4-lts BRANCH=current RELEASE=bookworm KERNEL_GIT=shallow COMPRESS_OUTPUTIMAGE=img,sha BUILD_MINIMAL=yes`
<DC-IRC>
<meneerkim> They are blank
<DC-IRC>
<.richn> if the board does not have a spi-nor boot you can only boot from usb using sd or emmc
<DC-IRC>
<.richn> the /boot would be on the sd or the emmc and /root would be on the usb
<DC-IRC>
<.richn> you would have to use the install script in armbian-config to install and set this up
<DC-IRC>
<.richn> if your board has spi-nor with uboot it depened son if it was setup to allow usb boot
<DC-IRC>
<.richn> Kim are they onboard or are they clip on units ?
<DC-IRC>
<.richn> if you have the adapters for the emmc
<DC-IRC>
<lanefu> if blank.... i'd probably make a custom sdcard that just boots and then `curl | dd` the image to emmc
<DC-IRC>
<speakertomeat> Oh balena is finally makign and shipping the etcher pro? nice.
<DC-IRC>
<speakertomeat> Btw my orange-pi 4 lts came with the android on emmc.
<DC-IRC>
<speakertomeat> Also you could make an sd card with the cli lite version for the opi, and change startup (possibly using rc.local) to use a modified version of the existing armbian-install to auto install to the emmc
<DC-IRC>
<speakertomeat> you probably just need to skip one or two dialog calls
<DC-IRC>
<speakertomeat> ANd it's possible (not sure, haven't checked sorry) the install script takes some other steps in consideration.
<DC-IRC>
<speakertomeat> yet the idea is not bad, I'm making a specialized opi 4 lts too, and once I'm done with the test one I'll probably make a copy of the emmc into an img to automate install on the others
<DC-IRC>
<lanefu> yeah so many vendors pre-flasha garbage android on emmc so they can test on assembly line... and then its PITA to whip because of boot order
<DC-IRC>
<gambl0r> it's just a matter of dd'ing the image to the emmc
<DC-IRC>
<speakertomeat> If you need to use an SD anyhow, mine readily booted from the SD even with the android in, but yeah if you want to use usb....
<DC-IRC>
<gambl0r> easiest way I can think of would be to have the .img you want to write to the emmc already stored in a directory on a live sd card, then a script to write it and power down on success
<DC-IRC>
<speakertomeat> nod
<DC-IRC>
<lanefu> you got lucky... a load of bootloaders don't do pivot to sd by default
<DC-IRC>
<gambl0r> orange pi 4 lts is good like that
<DC-IRC>
<gambl0r> if someone figures out how to get uboot output via hdmi on it, please let me know
<DC-IRC>
<speakertomeat> Do you want it to show? or do you want to see? because it's my understanding there's feedback, maybe from uboot onwards, enabled on the serial port right next to the 26 pin header
<DC-IRC>
<speakertomeat> You'd need a usb to ttl (3.3v) serial adapter to see it though
<DC-IRC>
<gambl0r> I can see it and interfact with it even using a serial to usb device but I would like to be able to to do the same over hdmi
<DC-IRC>
<.richn> we need the t4 fixed
<DC-IRC>
<.richn> every img I built workes except for ctl alt f#