multiboot patches from august 2018

2019-01-21 Thread cinap_lenrek
i'm unsubscribing from this list as i did not get any response about these patches from anyone but horms so far and that was a long time ago. http://lists.infradead.org/pipermail/kexec/2018-August/021357.html http://lists.infradead.org/pipermail/kexec/2018-August/021358.html http://lists.infradead

Re: [PATCH] multiboot-x86: support for non-elf kernels

2018-09-11 Thread cinap_lenrek
> Is it desirable for this check to be run for each iteration of the loop. thats is not really the case. that statemet is executed exactly once. the first check in the loop body looks for the multiboot header signature and continues the loop if not found. once that check passes the iteration ends

multiboot-x86

2018-09-10 Thread cinap_lenrek
Hello, I'v posted 3 patches on august and did not receive a response. http://lists.infradead.org/pipermail/kexec/2018-August/021357.html http://lists.infradead.org/pipermail/kexec/2018-August/021358.html http://lists.infradead.org/pipermail/kexec/2018-August/021359.html what is the issue? how do

[PATCH] multiboot-x86: pass framebuffer information when requested

2018-08-02 Thread cinap_lenrek
When the kernel requests video information, pass it the framebuffer information in the multiboot header from the linux framebuffer ioctl's. With the arch specific --reset-vga or --consolve-vga options, purgatory will reset the framebuffer so pass information for standard ega text mode. Signed-off

[PATCH] multiboot-x86: pass ACPI reserved memory information in memory map

2018-08-02 Thread cinap_lenrek
Use the appropriate types for ACPI reclaim and ACPI NVS ranges in the multiboot memory map. This allows the kernel to locate ACPI tables on UEFI systems without having a explicit pointer to the RSD. Signed-off-by: Friedemann Gerold --- diff --git a/kexec/arch/i386/kexec-multiboot-x86.c b/kexec/

[PATCH] multiboot-x86: support for non-elf kernels

2018-08-02 Thread cinap_lenrek
Add support for non-elf multiboot kernels (such as Plan 9) by handling the MULTIBOOT_AOUT_KLUDGE bit. When the bit is clear then we are dealing with an ELF file and probe for ELF as before with elf_x86_probe(). When the bit is set then load_addr, load_end_addr, header_addr and entry_addr from the

multiboot non-elf and framebuffer support for kexec-tools

2018-07-30 Thread cinap_lenrek
theres a patch that provides support for non-elf multiboot kernels and passes framebuffer information to the kernel if requested in the multiboot header. only rgb truecolor framebuffers are supported right now. if --reset-vga or --console-vga was specified, it assumes the framebuffer will be stand

non-elf multiboot image support on x86

2018-07-24 Thread cinap_lenrek
ok, this patch get me to load plan9 kernel. also adds acpi memory types to multiboot memory map instead of marking them as reserved. this is needed for the kernel to locate acpi tables in lack of a explicit rsd pointer. sorry, not attaching this as a file as the list appears to block my mails wit

kexec support for plan9 continued

2018-07-23 Thread cinap_lenrek
good day. previous mail seems to be stuck in moderation for some reason. can someone please check? anyway, theres some progress. i'v changed the 9front kernel to cope with missing acpi table pointer and use the memory map now looking for the RSD PTR structure in the ACPI reserved area. the linu

kexec support for plan9 on x86

2018-07-23 Thread cinap_lenrek
implemented support in kexec-tools to boot plan9 kernel last night (see attachment). this is very basic support. it loads the kernel and provides it a memory map (from info->memory_range) in its config area and also has a optional parameter to pass additional plan9.ini configuration. but i have a

mail with .c files in attachment held in moderation

2018-07-22 Thread cinap_lenrek
messages from yesterday are still held in moderation for "suspicious header". i suspect this is because i attached c source file. can someone please check? should i send hyperlinks instead? -- cinap ___ kexec mailing list kexec@lists.infradead.org http:

why's svgadrmfb not exposing linear phys framebuffer address?

2018-07-21 Thread cinap_lenrek
https://www.kernel.org/doc/Documentation/fb/api.txt according to this, fb_fix_screeninfo struct should have the physical start address and stride of the framebuffer. but it lies: giving me *ZERO* for smem_start. driver id is "svgadrmfb". is there any other linux interface to get to the phyical fr