Displaying 20 results from an estimated 27 matches for "setup_sects".
2013 Jul 25
2
Efi64 boot fail during download from kernel and initrd via http
...t Fleming, Intel Open Source Technology Center
>
I tried it with pre11, same problem.
I modified the debug append line to the one above.
I get the following output:
efi_boot_linux: kernel_start 0x1000000 kernel_size 0x472390 initramfs 0x7e3dc998 setup_data 0x0 cmdline 0x9f000
efi_boot_linux: setup_sects 32 kernel_size 4662160
Hope this helps
Regards Michael
2007 Jun 06
7
[PATCH RFC 0/7] proposed updates to boot protocol and paravirt booting
This series:
1. Updates the boot protocol to version 2.07
2. Clean up the existing build process, to get rid of tools/build and
make the linker do more heavy lifting
3. Make the bzImage payload an ELF file. The bootloader can extract
this as a naked ELF file by skipping over boot_params.setup_sects worth
of 16-bit setup code.
4. Update the boot_params to 2.07, and update the kernel's head.S to
jump to the appropriate subarch-specific kernel entrypoint. The
very earliest code is common (copy boot_params, clear bss); the
split happens just before the initial pagetable setu...
2007 Jun 06
7
[PATCH RFC 0/7] proposed updates to boot protocol and paravirt booting
This series:
1. Updates the boot protocol to version 2.07
2. Clean up the existing build process, to get rid of tools/build and
make the linker do more heavy lifting
3. Make the bzImage payload an ELF file. The bootloader can extract
this as a naked ELF file by skipping over boot_params.setup_sects worth
of 16-bit setup code.
4. Update the boot_params to 2.07, and update the kernel's head.S to
jump to the appropriate subarch-specific kernel entrypoint. The
very earliest code is common (copy boot_params, clear bss); the
split happens just before the initial pagetable setu...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/libxc/bootparam.h Thu Jun 14 08:43:44 2007 -0700
@@ -0,0 +1,53 @@
+#ifndef _ASM_BOOTPARAM_H
+#define _ASM_BOOTPARAM_H
+
+#include <stdint.h>
+
+#define HDR_MAGIC "HdrS"
+#define HDR_MAGIC_SZ 4
+
+struct setup_header {
+ uint8_t setup_sects;
+ uint16_t root_flags;
+ uint32_t syssize;
+ uint16_t ram_size;
+ uint16_t vid_mode;
+ uint16_t root_dev;
+ uint16_t boot_flag;
+ uint16_t jump;
+ uint32_t header;
+ uint16_t version;
+#define VERSION(h,l) (((h)<<8) | (l))
+ uint32_t realmode_swtch;
+ uint16_t start_sys;
+ uint16_t kernel_ve...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/libxc/bootparam.h Thu Jun 14 08:43:44 2007 -0700
@@ -0,0 +1,53 @@
+#ifndef _ASM_BOOTPARAM_H
+#define _ASM_BOOTPARAM_H
+
+#include <stdint.h>
+
+#define HDR_MAGIC "HdrS"
+#define HDR_MAGIC_SZ 4
+
+struct setup_header {
+ uint8_t setup_sects;
+ uint16_t root_flags;
+ uint32_t syssize;
+ uint16_t ram_size;
+ uint16_t vid_mode;
+ uint16_t root_dev;
+ uint16_t boot_flag;
+ uint16_t jump;
+ uint32_t header;
+ uint16_t version;
+#define VERSION(h,l) (((h)<<8) | (l))
+ uint32_t realmode_swtch;
+ uint16_t start_sys;
+ uint16_t kernel_ve...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/libxc/bootparam.h Thu Jun 14 08:43:44 2007 -0700
@@ -0,0 +1,53 @@
+#ifndef _ASM_BOOTPARAM_H
+#define _ASM_BOOTPARAM_H
+
+#include <stdint.h>
+
+#define HDR_MAGIC "HdrS"
+#define HDR_MAGIC_SZ 4
+
+struct setup_header {
+ uint8_t setup_sects;
+ uint16_t root_flags;
+ uint32_t syssize;
+ uint16_t ram_size;
+ uint16_t vid_mode;
+ uint16_t root_dev;
+ uint16_t boot_flag;
+ uint16_t jump;
+ uint32_t header;
+ uint16_t version;
+#define VERSION(h,l) (((h)<<8) | (l))
+ uint32_t realmode_swtch;
+ uint16_t start_sys;
+ uint16_t kernel_ve...
2013 Jul 25
0
Efi64 boot fail during download from kernel and initrd via http
...Szerencsits wrote:
> I tried it with pre11, same problem.
>
> I modified the debug append line to the one above.
>
> I get the following output:
> efi_boot_linux: kernel_start 0x1000000 kernel_size 0x472390 initramfs 0x7e3dc998 setup_data 0x0 cmdline 0x9f000
> efi_boot_linux: setup_sects 32 kernel_size 4662160
>
> Hope this helps
> Regards Michael
Thanks, that does help. At least we know it's taking the 32-bit entry
path.
I opened the following bug report to track this issue,
http://bugzilla.syslinux.org/show_bug.cgi?id=21
Does vmware display the register conten...
2013 Jul 24
2
Efi64 boot fail during download from kernel and initrd via http
> Actually, can you grab the version I built from,
>
> ftp://syslinux.org/pub/syslinux/tests/syslinux-6.02-pre2.tar.gz
>
> And see whether things work for you? I'm just trying to rule out any
> kind of distribution error on the Syslinux build machine.
>
> --
> Matt Fleming, Intel Open Source Technology Center
> _______________________________________________
2008 Feb 13
4
[PATCHv3 1/3] x86: use ELF format in compressed images.
...+ cmdline_size Maximum size of the kernel command line
023C/4 2.07+ hardware_subarch Hardware subarchitecture
0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data
+0248/4 2.08+ compressed_payload_offset
+024C/4 2.08+ compressed_payload_length
(1) For backwards compatibility, if the setup_sects field contains 0, the
real value is 4.
@@ -512,6 +514,22 @@ Protocol: 2.07+
A pointer to data that is specific to hardware subarch
+Field name: compressed_payload_offset
+Type: read
+Offset/size: 0x248/4
+Protocol: 2.08+
+
+ If non-zero then this field contains the offset from the end...
2008 Feb 13
4
[PATCHv3 1/3] x86: use ELF format in compressed images.
...+ cmdline_size Maximum size of the kernel command line
023C/4 2.07+ hardware_subarch Hardware subarchitecture
0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data
+0248/4 2.08+ compressed_payload_offset
+024C/4 2.08+ compressed_payload_length
(1) For backwards compatibility, if the setup_sects field contains 0, the
real value is 4.
@@ -512,6 +514,22 @@ Protocol: 2.07+
A pointer to data that is specific to hardware subarch
+Field name: compressed_payload_offset
+Type: read
+Offset/size: 0x248/4
+Protocol: 2.08+
+
+ If non-zero then this field contains the offset from the end...
2013 Dec 04
0
Boot iPXE from syslinux/isolinux
...addr_t real_mode_base, prot_mode_base;
+ addr_t real_mode_base, prot_mode_base, prot_mode_max;
addr_t irf_size;
size_t cmdline_size, cmdline_offset;
struct setup_data *sdp;
@@ -243,9 +240,19 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size,
real_mode_size = (hdr.setup_sects + 1) << 9;
real_mode_base = (hdr.loadflags & LOAD_HIGH) ? 0x10000 : 0x90000;
prot_mode_base = (hdr.loadflags & LOAD_HIGH) ? 0x100000 : 0x10000;
+ prot_mode_max = (hdr.loadflags & LOAD_HIGH) ? (addr_t)-1 : 0x8ffff;
prot_mode_size = kernel_size - real_mode_size;...
2007 Jun 01
2
another RFC patch: bzImage with ELF payload
...a = .;
- *(.data)
- output_len = . - 4;
- input_data_end = .;
- }
-}
===================================================================
--- a/arch/i386/boot/header.S
+++ b/arch/i386/boot/header.S
@@ -97,9 +97,9 @@ bugger_off_msg:
.section ".header", "a"
.globl hdr
hdr:
-setup_sects: .byte SETUPSECTS
+setup_sects: .byte __setup_sects
root_flags: .word ROOT_RDONLY
-syssize: .long SYSSIZE
+syssize: .long kernel_size_para
ram_size: .word RAMDISK
vid_mode: .word SVGA_MODE
root_dev: .word ROOT_DEV
===================================================================
--- /dev/null...
2007 Jun 01
2
another RFC patch: bzImage with ELF payload
...a = .;
- *(.data)
- output_len = . - 4;
- input_data_end = .;
- }
-}
===================================================================
--- a/arch/i386/boot/header.S
+++ b/arch/i386/boot/header.S
@@ -97,9 +97,9 @@ bugger_off_msg:
.section ".header", "a"
.globl hdr
hdr:
-setup_sects: .byte SETUPSECTS
+setup_sects: .byte __setup_sects
root_flags: .word ROOT_RDONLY
-syssize: .long SYSSIZE
+syssize: .long kernel_size_para
ram_size: .word RAMDISK
vid_mode: .word SVGA_MODE
root_dev: .word ROOT_DEV
===================================================================
--- /dev/null...
2009 Mar 22
1
[PATCH] [memdisk] Additional comments in memdisk.inc and postprocess.pl
...-----
#
-# Postprocess the memdisk binary.
-#
+# Postprocess the memdisk binary. Used during the 'make' process.
+# We write memdisk16.bin out to the final memdisk kernel, pad it to an
+# integral 512-byte sector length, write this number of sectors into
the
+# kernel header field "setup_sects", then append memdisk32.bin
eval { use bytes; };
--
1.5.3.4
2007 May 31
1
[patch rfc wip] first cut of ELF bzImage
...p_offset
+ .int 0 # p_vaddr
+ .int 0 # p_paddr
+ .int notes_size # p_filesz
+ .int 0 # p_memsz
+ .int 0 # p_flags
+ .int 0 # p_align
+e_phdr:
start2:
movw %cs, %ax
@@ -97,9 +163,9 @@ bugger_off_msg:
.section ".header", "a"
.globl hdr
hdr:
-setup_sects: .byte SETUPSECTS
+setup_sects: .byte __setup_sects
root_flags: .word ROOT_RDONLY
-syssize: .long SYSSIZE
+syssize: .long kernel_size_para
ram_size: .word RAMDISK
vid_mode: .word SVGA_MODE
root_dev: .word ROOT_DEV
@@ -117,7 +183,6 @@ 1:
1:
# Part 2 of the header, from the old setup.S
-...
2007 May 31
1
[patch rfc wip] first cut of ELF bzImage
...p_offset
+ .int 0 # p_vaddr
+ .int 0 # p_paddr
+ .int notes_size # p_filesz
+ .int 0 # p_memsz
+ .int 0 # p_flags
+ .int 0 # p_align
+e_phdr:
start2:
movw %cs, %ax
@@ -97,9 +163,9 @@ bugger_off_msg:
.section ".header", "a"
.globl hdr
hdr:
-setup_sects: .byte SETUPSECTS
+setup_sects: .byte __setup_sects
root_flags: .word ROOT_RDONLY
-syssize: .long SYSSIZE
+syssize: .long kernel_size_para
ram_size: .word RAMDISK
vid_mode: .word SVGA_MODE
root_dev: .word ROOT_DEV
@@ -117,7 +183,6 @@ 1:
1:
# Part 2 of the header, from the old setup.S
-...
2008 Jan 31
0
[PATCH] x86: use ELF format in compressed images.
...+ cmdline_size Maximum size of the kernel command line
023C/4 2.07+ hardware_subarch Hardware subarchitecture
0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data
+0248/4 2.08+ compressed_payload_offset
+024C/4 2.08+ compressed_payload_length
(1) For backwards compatibility, if the setup_sects field contains 0, the
real value is 4.
@@ -512,6 +514,22 @@ Protocol: 2.07+
A pointer to data that is specific to hardware subarch
+Field name: compressed_payload_offset
+Type: read
+Offset/size: 0x248/4
+Protocol: 2.08+
+
+ If non-zero then this field contains the offset from the end...
2008 Jan 31
0
[PATCH] x86: use ELF format in compressed images.
...+ cmdline_size Maximum size of the kernel command line
023C/4 2.07+ hardware_subarch Hardware subarchitecture
0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data
+0248/4 2.08+ compressed_payload_offset
+024C/4 2.08+ compressed_payload_length
(1) For backwards compatibility, if the setup_sects field contains 0, the
real value is 4.
@@ -512,6 +514,22 @@ Protocol: 2.07+
A pointer to data that is specific to hardware subarch
+Field name: compressed_payload_offset
+Type: read
+Offset/size: 0x248/4
+Protocol: 2.08+
+
+ If non-zero then this field contains the offset from the end...
2008 Feb 06
0
[PATCHv2 1/3] x86: use ELF format in compressed images.
...+ cmdline_size Maximum size of the kernel command line
023C/4 2.07+ hardware_subarch Hardware subarchitecture
0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data
+0248/4 2.08+ compressed_payload_offset
+024C/4 2.08+ compressed_payload_length
(1) For backwards compatibility, if the setup_sects field contains 0, the
real value is 4.
@@ -512,6 +514,22 @@ Protocol: 2.07+
A pointer to data that is specific to hardware subarch
+Field name: compressed_payload_offset
+Type: read
+Offset/size: 0x248/4
+Protocol: 2.08+
+
+ If non-zero then this field contains the offset from the end...
2008 Feb 06
0
[PATCHv2 1/3] x86: use ELF format in compressed images.
...+ cmdline_size Maximum size of the kernel command line
023C/4 2.07+ hardware_subarch Hardware subarchitecture
0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data
+0248/4 2.08+ compressed_payload_offset
+024C/4 2.08+ compressed_payload_length
(1) For backwards compatibility, if the setup_sects field contains 0, the
real value is 4.
@@ -512,6 +514,22 @@ Protocol: 2.07+
A pointer to data that is specific to hardware subarch
+Field name: compressed_payload_offset
+Type: read
+Offset/size: 0x248/4
+Protocol: 2.08+
+
+ If non-zero then this field contains the offset from the end...