Displaying 8 results from an estimated 8 matches for "floadfil".
Did you mean:
floadfile
2010 Apr 27
4
Patch sensible callback framework
This patch adds a simple callback framework.
Modified loadfile and floadfile to look for callbacks and call them if present
Supports multiple callbacks
Modified com32/modules/linux.c to demonstrate functionality (it's a little more complicated than it should be just to demonstrate multiple callbacks). Add progress argument to display a percentage indicator when lo...
2017 Mar 21
1
I/O error
...stom patches to syslinux, digging into it right now.
2_ The bootloader fails at the stage of loading the kernel, i.e. before
transferring control to the kernel. I get:
Loading /boot/vmlinuz... failed: I/O error
boot:
dropping me to syslinux CLI. Just found out that the actual error
happens in floadfile after fread (com32/lib/syslinux/floadfile.c:96 in
current master)
3_ It can be reproduced with syslinux.cfg as simple as
DEFAULT Syslinux Yocto Test
LABEL Syslinux Yocto Test
KERNEL /boot/vmlinuz
4_ The simplest qemu command line for reproducing that error is:
qemu-system-x86_64 -m 256...
2010 Apr 23
1
Path simple menu integrated progress indicator
...0000 -0500
@@ -9,7 +9,9 @@
#define LOADFILE_ZERO_PAD 64
int loadfile(const char *, void **, size_t *);
+int loadfile_w_callback(const char *filename, void **ptr, size_t *len, void (*callback)(const char* file, size_t cur, size_t total));
int zloadfile(const char *, void **, size_t *);
int floadfile(FILE *, void **, size_t *, const void *, size_t);
-
+int floadfile_w_callback(FILE *f, void **ptr, size_t *len, const void *prefix,
+ size_t prefix_len, const char *filename, void (*callback)(const char* file, size_t cur, size_t total));
#endif
diff -uprN syslinux-3.86-vanilla//com32...
2016 Nov 20
2
[PATCH 0/2] improve Lua API for files and initramfs objects
hpa at zytor.com writes:
> On November 19, 2016 6:06:43 AM PST, wferi at niif.hu wrote:
>
>>"H. Peter Anvin" <hpa at zytor.com> writes:
>>
>>> On 11/10/16 04:38, Paul Emmerich via Syslinux wrote:
>>>
>>>> Ferenc W?gner <wferi at niif.hu>:
>>>>
>>>>> for reading configuration files from disk. Does it
2017 Mar 21
2
I/O error
Thanks. I've looked through all the links, and it seems everything is
fine wrt. to what was mentioned there (I've disabled 64 bits in mke2fs,
but it didn't help). I'd be glad to provide more details, but the error
message is the only info I've got by now. It seems nothing else can be
got from syslinux shell without modifiying the code.
I've tried to make it load the kernel
2016 Nov 29
0
[PATCH 0/2] improve Lua API for files and initramfs objects
...allocates the buffer in one shot,
rather than using realloc(). Do note that [f]loadfile() (as opposed to
initramfs_load_file()) just loads data into a memory buffer. If there
is a way to represent a memory buffer allocated by C as a Lua string
that would pretty much take care of the same thing. floadfile() even
allows a chunk of data to be prepended to the buffer, which could be
useful in the case of a Lua string needing something prepended to the
data buffer.
Creating struct initramfs at the point of execution seems reasonable,
but on the other hand, is there a reason we can't simply add a r...
2013 Jun 25
0
Syslinux 6.00 released
...slinux/memmap.o syslinux/movebits.o syslinux/shuffle.o syslinux/shuffle_pm.o syslinux/shuffle_rm.o syslinux/zonelist.o syslinux/dump_mmap.o syslinux/dump_movelist.o syslinux/run_default.o syslinux/run_command.o syslinux/cleanup.o syslinux/localboot.o syslinux/runimage.o syslinux/loadfile.o syslinux/floadfile.o syslinux/zloadfile.o syslinux/load_linux.o syslinux/initramfs.o syslinux/initramfs_file.o syslinux/initramfs_loadfile.o syslinux/initramfs_archive.o sys/libansi.o sys/gpxe.o atexit.o onexit.o abort.o
ld: i386 architecture of input file `zlib/adler32.o' is incompatible with i386:x86-64 output...
2013 Jun 25
4
Syslinux 6.00 released
On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote:
> Thanks - now it crashes later ...
What crash are you seeing?
> I don't have the ia64 files which are needed for a complete binary. But
> maybe that's only my special problem.
You shouldn't need ia64 files to build ia32 and x86-64 versions of
gnu-efi or Syslinux.
--
Matt Fleming, Intel Open Source Technology Center