This series updates the build (and layoutrom.py in particular) to be
more flexible in section layouts. Prior to this series, only code
compiled in the 16bit mode pass could be placed at a fixed address in
the f-segment. After this change, the build can more easily place
sections from any compile pass.
Most of the series consists of minor cleanups to layoutrom.py to make
the above happen. Patch 4 is an unrelated minor feature enhancement.
Otherwise, patches 7 and 10 are where the real changes occur.
Kevin O'Connor (10):
build: Remove unused function getSectionsStart() from layoutrom.py.
build: Extract section visiting logic in layoutrom.py.
build: Refactor layoutrom.py gc() function.
build: Use customized entry point for each type of build.
build: Refactor findInit() function.
build: Rework getRelocs() to use a hash instead of categories in
build: Keep segmented sections separate until final link step.
build: Use fileid instead of category to write sections in
build: Only export needed fields in LayoutInfo in layoutrom.py.
build: Get fixed address variables from 32bit compile pass (not 16bit)
Makefile | 13 +-
scripts/layoutrom.py | 426 ++++++++++++++++++++++++---------------------------
src/entryfuncs.S | 6 -
src/font.c | 2 +-
src/misc.c | 18 +--
src/romlayout.S | 4 +-
src/types.h | 8 +-
7 files changed, 224 insertions(+), 253 deletions(-)
Marc suggested that I reword what are intent was/is.
We view the SD patch as a starting point and that we would like to work
community on getting it into seabios. I think that we could use help from
and David Woodhouse, who has expressed an interest in it, to improve and
develop the code.
On Wed, Jun 11, 2014 at 1:37 PM, Dave Frodin <dave.frodin(a)se-eng.com> wrote:
> Our intent at this time was to just get it out for others to see/use.
> I'll try attaching the files.
> On Tue, Jun 10, 2014 at 6:19 PM, Kevin O'Connor <kevin(a)koconnor.net>
>> On Thu, Jun 05, 2014 at 10:36:07AM -0600, Dave Frodin wrote:
>> > Paul,
>> > I'm resending the patch, supposedly as plain text.
>> > Let me know if you still see a problem.
>> > Thanks,
>> > Dave
>> Thanks for posting this Dave.
>> Is the intention to publish this, or to get this into SeaBIOS master?
>> I think the patch will need a bit of work before it could be committed
>> to upstream.
>> > + //@NOTE: This step appears to be unnecessary for booting from
>> > the sd card as the pchs info does not get used...
>> BTW, the patch still got corrupted. You might try gzipping it and
>> then attaching the gzipped patch.
On Thu, Jun 05, 2014 at 10:36:07AM -0600, Dave Frodin wrote:
> I'm resending the patch, supposedly as plain text.
> Let me know if you still see a problem.
Thanks for posting this Dave.
Is the intention to publish this, or to get this into SeaBIOS master?
I think the patch will need a bit of work before it could be committed
> + //@NOTE: This step appears to be unnecessary for booting from
> the sd card as the pchs info does not get used...
BTW, the patch still got corrupted. You might try gzipping it and
then attaching the gzipped patch.
Hi folks, first time posting here. I was wondering if it would be
possible to modify smbios values once a system is up and running. Has
anyone ever looked into that? If not, any pointers on how to implement
this would be greatly appreciated. I'm fairly new to coreboot and
seabios but would like to look into this.
First, I would like to congratulate you for working on a Free BIOS.
Is there a way to lock-down SEABIOS with a password like a traditional
computer. I know most computers have BIOS magic passwords, but ... some
don't and a good password will always slow down an attack.
Does SeaBIOS support password protection?
Dear SeaBIOS folks,
on LinuxTag 2014 the OpenMandriva project  gave away USB flash
storage devices with OpenMandriva installed for live booting. Testing it
out on the ASRock E350M1 with coreboot and SeaBIOS payload it was not
detected by SeaBIOS, meaning pressing F12 it was not listed in the boot
Rebooting the system by pressing Ctrl + Alt + Del the USB device was
recognized by SeaBIOS and listed in the boot menu.
I am still able to reproduce this with SeaBIOS build from master. Please
find the coreboot and SeaBIOS logs attached.
The TODO file hasn't been updated in years and the info in it is stale.
Signed-off-by: Kevin O'Connor <kevin(a)koconnor.net>
TODO | 21 ---------------------
1 file changed, 21 deletions(-)
delete mode 100644 TODO
diff --git a/TODO b/TODO
deleted file mode 100644
@@ -1,21 +0,0 @@
-Review changes committed to coreboot, virtualbox, qemu, kvm, and bochs
- * bochs cvs (20100104):
- -- changes synched
- * coreboot (r3348): (bochs 20060708)
- -- no noteworthy enhancements
- * qemu - now uses SeaBIOS
- * kvm - now uses SeaBIOS
- * virtualbox (r13560): (bochs 20061231)
- -- lots of mouse changes, logo, scsi/etherboot hooks,
- floppy data rate?, int19 calls post
-The __call16 code does a long jump to the interrupt trampolines - this
-Support PCIv3 roms? Add support for PCI "configuration code"
-Possibly add option to eliminate tsc based delays on emulators.
-Possibly support sending debug information over EHCI debug port.