Displaying 20 results from an estimated 2000 matches similar to: "[PATCH 1/2] COM32: lua - add syslinux library"
2011 May 09
3
Lua.c32 - user input / scripting
I'm trying to get this bit of code to work with the lua.c32 interpreter:
--- sample, the goal is to build a script that will allow me to enter a 4digit
mt and load the bios iso accordingly
print ("enter machine type :")
mt = io.read()
print ("you entered...",mt)
doStuff()
if (mt == "8141") then
syslinux.run_command("memdisk
2008 Dec 04
3
Patch: Allow args with spaces
Hi,
the first attached patch extends the argument parsing code to allow (shell
like) spaces. A config like
LABEL BIOSupdate
KERNEL dmiselect.c32
APPEND "ESPRIMO P5925" "memdisk initrd=/dos/FSC-E5925.img raw"
will result in args[]:
ESPRIMO P5925
memdisk initrd=/dos/FSC-E5925.img raw
instead of (current code):
"ESPRIMO
P5925"
"memdisk
2008 Dec 10
0
[PATCH 2/2] COM32: lua - add dmi library
Hi again,
this is the second part of the patch extending lua. This time it adds
the dmi functions (com32/modules/dmi*) to lua:
dmi.supported(): returns true if DMI is supported
dmi.gettable(): returns array of key, value pairs containing system info
Sorry, but this patch does not apply cleanly if [PATCH 1/2] was applied
before. There's just one line to fix in com32/lua/src/linit.c
2008 Oct 22
1
NEW: COM32 module to alias
From: Gene Cumm <gene.cumm at gmail.com>
alias.c: A simple COM32 module that allows the creation of an alias
within the config for SYSLINUX, etc.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
If, for example, you had two labels that only differed by the length
of the label (a short name) or additional APPENDd parameters, this
would reduce the amount of copies of the same
2010 Jul 27
1
Return from syslinux_local_boot(), syslinux_run_command() and syslinux_boot_linux()
gfxboot uses those three calls, but currently doesn't really handle returns from them.
syslinux_boot_linux (lib/syslinux/load_linux.c) can return ("bail" label).
syslinux_local_boot (lib/syslinux/localboot.c) has a comment which says "returns
only on failure". The documentation for "Local boot" in doc/comboot.txt says "Does
not return". Which is correct?
2014 Apr 29
2
Issues with syslinux_run_command(str) and parameters
With the latest 6.03pre I'm seeing an issue where no parameters are passed to the image executed via syslinux_run_command().
An example of this is whichsys.c32, which uses this. E.g., using an example from the wiki page - whichsys.c32 -iso- chain.c32 hd0 -sys- chain.c32 hd1 swap - results in a loop back to the isolinux menu as chain.c32 receives no parameters. Similarly, using -iso- memdisk
2013 Aug 13
5
Booting second label
Hi
I'm using syslinux 5.01 and is installing our bootloader using "extlinux --install /boot". In the extlinux.conf I've specified that the kontron_wdt.c32 program should boot another label once it has been executed but it never calls the second label.
Here's my extlinux.conf:
default wdt
timeout 5
prompt 1
label linuxfoo
kernel /vmlinuz
append root=/dev/sda2 #.... more
2008 Dec 12
4
[PATCH 1/1] COM32: lua - enable (parts of) liolib
Hi again,
the attached patch (re-)enables parts of lua's liolib.c, especially
io.write() for formatted output (similar to printf() ):
Example:
-- define printf() function
printf = function(s,...)
return io.write(s:format(...))
end -- function
printf("Hallo, this is hex %04x\n", 64321)
Bye,
Marcel
-------------- next part --------------
A non-text
2014 Apr 29
2
Issues with syslinux_run_command(str) and parameters
> More context to this: syslinux_run_command calls into load_kernel(), and somewhere behind load_kernel things break. This is also broken at the boot: console prompt. Any commands executed at the boot: prompt also lose all parameters.
>
> > With the latest 6.03pre I'm seeing an issue where no parameters are passed to the image executed via syslinux_run_command().
> > An
2005 Jul 20
2
Issues with convolve
We obtained some disturbing results from convolve() (inaccuracies and negative
probabilities). We'll try to make the context clear in as few lines as
possible...
Our function panjer() (code below) basically computes recursively the
probability mass function of a compound Poisson distribution. When the
Poisson parameter lambda is very large, the starting value of the recursive
scheme ---
2009 Feb 16
3
[PATCH] cmd.c32: new module to just execute a command
Trivial module to execute an arbitrary command.
---
com32/modules/Makefile | 2 +-
com32/modules/cmd.c | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 1 deletions(-)
create mode 100644 com32/modules/cmd.c
diff --git a/com32/modules/Makefile b/com32/modules/Makefile
index 2739a39..930e89b 100644
--- a/com32/modules/Makefile
+++ b/com32/modules/Makefile
2009 Apr 10
2
Stacked density plots
Hello R-community,
I want to generate stacked density plots in lattice. My data consist of a numeric variable ('pid') that is measured in different individuals ('id'), which can be divided in two types ('type') and the measurements were repeated a different time points ('day').
I read in the Lattice book that this can be done using the 'flowViz'
2014 May 05
2
Issues with syslinux_run_command(str) and parameters
> I didn't see any further communication here; would anyone be
> against my submitting/proposing a patch for this?
Contributions are always welcome.
>
> I can see two possible approaches. One approach would be to
> isolate the restriction on user commands away from
> syslinux_run_command / load_kernel.
>
> Another would perhaps be to add support for a
2004 Feb 18
2
building the development version
I'm trying to build the current development version of R on an SGI
running IRIX6.5. Everything proceeds merrily until I reach the eda
package. This is the error message I get if I cd to the appropriate
directory and type 'make' or 'make all.' Does this make sense to
anyone? -- Thanks, Debby
gmake[3]: Entering directory `/l/fsc/dfs/src/R/src/library/eda'
building
2014 May 07
2
Issues with syslinux_run_command(str) and parameters
>>
>> >From the perspective of a final user, breaking the prior behavior of
>> directives needs to have very clear advantages.
>
> Reviewing the commit history, I would say that the prior behavior is currently broken.
>
> The ALLOWOPTIONS feature was added in 2004:
>
2009 Aug 10
1
fsc branch: merged ldlinux.asm and extlinux; failing test
Hi,
I merged ldlinux.asm and extlinux.asm on the fsc branch, observing that
there were very little difference between them left. So far, so good.
I found, however, a test which fails on the fsc branch (with or without
the merge.) I have tracked it down to vfat_mangle_name() overwriting a
bunch of random .bss16 memory, eventually including the CallbackSP variable.
2008 Oct 27
0
NEW: COM32 module to alias (Revised)
From: Gene Cumm <gene.cumm at gmail.com>
alias.c: A simple COM32 module that allows the creation of an alias
within the config for SYSLINUX and variants.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Revised based on previous discussion on this list <syslinux at zytor.com>
to change the command line string size and account for the possibility
of overflowing the
2013 Feb 14
1
Why scf (sfcd) monitoring sometimes doesn't work
Hello,
I found fsc (http://www.freshports.org/sysutils/fsc/) to be extremely
useful.
Unfortunately, I can't get some services to be monitored, "fscadm
enable" just failes with "Could not monitor service."
I don't know how kqueue interaction is working, so I can't guess why
some services can be monitored fine and others not.
How can I start finding out what goes
2011 Jan 21
1
Error in ANOVA for model comparison
Hello
I am trying to compare two models using anova(), however I get a message error (see below).
In the net I only found some information on certain library(car) for which one should use anova with A capital letter (Anova instead of anova), but I could not find car library as it says it does not exist.
> Model <- lm(interceptG ~ SW + TSC + FSC + PF + SlopeG + K, data=AllTrait)
>
2009 Feb 22
2
NEW: COM32 module to run another command, optionally clearing the screen
From: Gene Cumm <gene.cumm at gmail.com>
run.c: A simple COM32 module that will optionally clear the screen
(using newlines) then run a command.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
This is based on my alias COM32 module that I submitted back in
October, with some improvements to clean up debugging code and
optionally clear the screen.
LABEL et
KERNEL run.c32