#asahi · 2022-01-02 12:33
amwe.g. set prefix=(hdX,Y)/boot/grub sort of command#asahi · 2022-01-02 12:33
amwPerhaps try changing to the ext4 or what ever linux partition?#asahi · 2022-01-02 12:32
amwI think that is where grub will look for it's files (and kernel)#asahi · 2022-01-02 12:31
amwDoes ls (hd1,gpt2)/boot/grub work?#asahi · 2022-01-02 12:29
amwThen you should be able to manual load the kernel / initrd #asahi · 2022-01-02 12:28
amwUnder Linux my USB device is /dev/sda but my nvme is nvme0n1 - quite different driver?#asahi · 2022-01-02 12:26
amwIt kind of sounds like u-boot can see the device, loads grub which can't read any partitions and drops into rescue shell#asahi · 2022-01-02 12:24
amwDoes your grub support nvme devices? Can you do ls (hd0,5) or (hd1,5)#asahi · 2022-01-02 12:23
amwgrub has a clunky (hdX,Y) syntax for partitions#asahi · 2022-01-02 12:22
amwDoes "ls" see anything - perhaps it is defaulting to the wrong partition?#asahi · 2022-01-02 12:20
amwTry "set" and see what variables it sets?#asahi · 2022-01-02 12:19
amwe.g. https://help.ubuntu.com/community/Grub2/Troubleshooting#asahi · 2022-01-02 12:17
amwCan you probe the disks it sees?#asahi · 2022-01-02 12:16
amwmps: I suppose you have no keyboard (even USB keyboard?) working to type commands into the grub rescue prompt?#asahi · 2022-01-02 12:11
amwkettenis: ok#asahi · 2022-01-02 12:08
amwWhat does "fdt_check_header(): FDT_ERR_BADMAGIC" mean?#asahi · 2022-01-02 12:07
amwok - so mps problem is his 1. bad dtb and 2. grub doesn't understand the "default" boot partition #asahi · 2022-01-02 12:04
amwok - so debian et al won't support u-boot?#asahi · 2022-01-02 12:03
amwj`ey: Can't we do m1n1+u-boot payload => ext4 / linux? #asahi · 2022-01-02 12:00
amwThe Quick Start Partitioning does say you want a FAT32 /boot + / ext4 : https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart#step-1-partitioning#asahi · 2022-01-02 11:33
amwok - according to https://www.thegoodpenguin.co.uk/blog/an-overview-of-psci/ this is new in 64bit ARM - i've only worked on 32bit#asahi · 2022-01-02 11:32
amwmps: In the boards I've worked I think so - but perhaps there is firmware routines that can be implemented by m1n1 + u-boot in a special reserved area denoted in the dtb that the kernel reads (from u-boot)#asahi · 2022-01-02 11:30
amwPerhaps dtb points to reserved address that implements https://www.kernel.org/doc/Documentation/devicetree/bindings/arm/psci.txt#asahi · 2022-01-02 11:29
amwmps: Just worried about how everyone doesn't step on the previous layer's code?#asahi · 2022-01-02 11:26
amwOK - but it does sound a little complex if we have m1n1 + u-boot remaining whilst also booting through grub - perhaps just go u-boot => linux?#asahi · 2022-01-02 11:23
amwok - PSCI = Power State Coordination Interface (according google)#asahi · 2022-01-02 11:22
amwWhy is it bad to just call that code directly in Linux - if it is so small#asahi · 2022-01-02 11:20
amwok - like a bios or UEFI routine?#asahi · 2022-01-02 11:19
amwdeep_wfi - is that the routine?#asahi · 2022-01-02 11:17
amwSo that's not deep enough sleep?#asahi · 2022-01-02 11:17
amwIs this done in m1n1/proxyclient/experiments/cpu_pstates.py ?#asahi · 2022-01-02 11:12
amwAnything in /sys/devices/system/cpu/cpu0/power do anything yet ? wifi take5 code#asahi · 2022-01-02 11:10
amwIt's always simpler when you don't know what you are talking about :-D#asahi · 2022-01-02 11:09
amwI think if you turn cores off they lose all register / cache values and need to be re-started correctly - but perhaps changing frequency might be simpler#asahi · 2022-01-02 11:07
amwj`ey: So it is a simple register write ... :-)#asahi · 2022-01-02 11:05
amwPerhaps there's a magic register to toggle speed up or down - but I guess it's way more complex...#asahi · 2022-01-02 01:24
amwSo you were right#asahi · 2022-01-02 01:23
amwGlanzmann: I did find my MBA got very hot when I left it shut in my bag under Linux - even though it is barely warm at one with the lid open#asahi · 2021-12-30 11:47
amwYou might have to take a photo?#asahi · 2021-12-30 11:47
amwSo your not seeing anything under the 2nd tty via USB cable?#asahi · 2021-12-30 11:41
amwWith the console output on the 2nd tty ttyACM1 ?#asahi · 2021-12-30 11:40
amwI guess you would have to boot it under the hypervisor - e.g. https://github.com/AsahiLinux/docs/wiki/SW%3ALinux#under-hypervisor#asahi · 2021-12-30 11:38
amwyournoob[m]: Can you post a link to a paste bin dump. e.g. https://paste.debian.net/#asahi · 2021-12-29 12:41
amwI looked at what driver was needed for my USB networking devices and made sure my kernel compiled those in (=y not =m) not as a module#asahi · 2021-12-29 12:40
amwThat will do dhcp to get networking IP and route up#asahi · 2021-12-29 12:39
amwI just used dhclient - if you have the driver (i.e. eth0 appears) try "dhclient eth0"#asahi · 2021-12-29 12:38
amwyournoob[m]: I think it's much better to start simple and small / command line - graphic's likely to be very tricky#asahi · 2021-12-29 12:37
amwI used a USB networking dongle to get initial networking going#asahi · 2021-12-29 12:34
amwNo need - just do the minimal one, then once it is booted (with networking) you can install the rest#asahi · 2021-12-29 12:33
amwI wouldn't try to build a base rootfs with X in it for copying onto the USB drive/nvme partition if that is what you mean