**** BEGIN LOGGING AT Fri Oct 30 02:59:57 2020 Oct 30 20:09:02 Hi, what is your setup for testing new kernels? I have an old QtMoko installed on the NAND which I’d like to keep working, can I send a temporary kernel over USB somehow? Oct 30 20:09:18 Or kexec it from an already-booted QtMoko? Oct 30 20:09:47 Also how do you debug stuff afterwards? Oct 30 20:52:26 Hmm, I'm trying to remember... I think I didn't use the NAND almost at all and put the kernel and rootfs on the SD card. Iirc there was some bootloader that booted from SD by default and from NAND if you pressed the single button on boot. Oct 30 20:53:35 If something went wrong, I think I usually modified the SD card on another device, or maybe I had a "backup distro" on the NAND, I don't quite remember. Oct 30 20:54:25 Ok. Oct 30 20:54:51 Taking the SD card out whenever I made a mistake sounds a bit long. Oct 30 20:55:00 But so does booting into the NAND OS. Oct 30 20:55:40 I didn't change the kernel very often I think... I don't remember what the various bootloaders supported, but I think there were a couple of choices. Oct 30 20:57:41 I remember that too, but… how do I figure out which bootloader I’m using atm? :-° Oct 30 20:57:57 I don’t get any menu or anything at boot. Oct 30 20:59:11 Iirc there was some U-Boot variant (maybe that was the default) and it displayed a logo, had a boot menu etc. and then the other option maybe didn't support the display at all and only booted as simply as possible... Oct 30 20:59:43 Also IIRC, the default u-boot is also baked into the NOR. Oct 30 21:00:01 So that even if I were to brick my NAND, I could still boot. Oct 30 21:01:21 Oh yes, that's right! Now I found a page: http://wiki.openmoko.org/wiki/Boot Oct 30 21:02:51 So Qi was the simple one, but the U-Boot supported some USB upload: "Our version of U-Boot also implements USB DFU. This can be useful to load files and kernel for quick testing." http://wiki.openmoko.org/wiki/Uboot Oct 30 21:05:40 Perfect. \o/ **** ENDING LOGGING AT Sat Oct 31 02:59:57 2020