<f_>
okay so I'm messing around with downstream u-boot and having trouble getting the kernel to use the initramfs..
<f_>
Does downstream u-boot always boot without the initramfs?
psydroid has joined #linux-amlogic
montjoie has quit [Remote host closed the connection]
montjoie has joined #linux-amlogic
psydroid has quit [Ping timeout: 252 seconds]
psydroid has joined #linux-amlogic
<f_>
ok. A bit more context: I got a Xiaomi Mi TV Stick recently, it's a gxl google-certified stick thing running Android TV 9, upgradable to Android 10
<f_>
and....
<f_>
Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
<f_>
aquaman_q#
<f_>
🤣
<f_>
I can load a kernel but it panicks on boot currently, I suspect lack of initramfs and also the USB stick I'm trying to boot it from is not detected
<f_>
at the very least it would be nice to get a root shell to at least dump the eMMC
<xdarklight>
since you can already access the u-boot built-in shell: you may be able to find the vendor .dtb and extract the VBUS GPIO from it, then use u-boot commands to toggle that GPIO to get your USB drive detected
<f_>
The USB drive is detected in U-Boot already, just not in linux, and it seems not in android either
<f_>
but that makes sense, I'll try
<f_>
Actually, let me try booting android to be sure
<f_>
okay, it doesn't look like Android detects the USB drive either. So only u-boot can make use of it