| * rrq had made some progress; first unzstd of vmlinuz-6.11.5-armmp, then wrap it into a FIT and then use bootm ... no it's as far as saying "Starting kernel ..." and hanging. | 00:24 | |
| rrq | no=now | 00:24 |
|---|---|---|
| rrq | by fiddling with "Load Address and Entry Point" for the FIT I can make it either crash or hang; not sure which is the better although neither is good. | 00:28 |
| gnarface | rrq: oh! i have an idea. make the kernel smaller | 00:39 |
| gnarface | suddenly looks like a familiar problem... | 00:40 |
| gnarface | stock kernel configuration is something like 24MB right? just turning off support for unused hardware i bet you can get that down to 16MB easy | 00:41 |
| gnarface | (may be something you can change in the boot config to adjust for this instead, but i am vague on the specifics) | 00:42 |
| rrq | mmm I had hoped to be able to use the stock kernel though | 00:55 |
| rrq | there's 2G RAM so should be possible | 00:56 |
| rrq | hmm bootm_size=0xa000000 (160 MiB) should be enough (?) | 01:13 |
| rrq | not sure where some env settings are made.. like | 01:16 |
| rrq | kernel_comp_addr_r=0x44000000 | 01:16 |
| rrq | kernel_comp_size=0xb000000 | 01:16 |
| onefang | 160 Mega smileys. I gotta teach this new client how to not interpret some characters as smileys. lol | 01:17 |
| rrq | when I make Load and Entry same as "Data Start" from bootm, then it says "XIP Kernel Image" but still hangs | 01:24 |
| * rrq biab | 01:25 | |
| gnarface | hmm, i would think that should be enough, but not sure | 02:53 |
| gnarface | is 0x44000000 == 160 MiB? | 02:54 |
| gnarface | i seem to recall was that what you specifically need, is at least enough space for the kernel image in between the memory address you load the .dtb and the memory address you load the kernel at, otherwise it chops up the kernel image and your boot hangs | 02:57 |
| rrq | it looks like there's a bug in the 64->32 transition in my uboot code (version) ... | 04:05 |
| rrq | specifically in arch/arm/cpu/armv8/transition.S | 04:07 |
| gnarface | hmm, indeed | 04:55 |
| gnarface | so just bad luck and if you try a different version it'll work? | 04:55 |
| rrq | mmm the file seems unchanged also in latest "master" (apart from adding x7 to the armv8_switch_to_el1_m macro use | 05:01 |
| rrq | I'm trying to polish up my arm/arm64 know-how but will first gather some extra debug data .. the assembly code isn't very easy to debug | 05:03 |
| rrq | hmm looks like my u-boot runs at EL2 (?) ... and would need to drop to EL1 for aarch32 (?) | 14:28 |
| rrq | fair enough. u-boot runs in EL2 and thus needs shifting to EL1 to run aarch32 kernel ... which ends up hanging silently | 23:30 |
| rrq | kernel is 6.1.0-27-armmp | 23:34 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!