First, I've added that very early POST code to the crt0.base for i386:
       intel_chip_post_macro(0x01)             /* delay for chipsets */

I have built and tested linuxbios with this on the pcm-5823 and it is fine
(actually somewhat more reliable)

Second, I have made one change to make.base

< makerule payload.block : $(if $(PAYLOAD),$(PAYLOAD), linux.bin.gz) ; dd
conv=sync bs=$(PAYLOAD_SIZE) if=$< of=$@
---
> makerule payload.block : $(if $(PAYLOAD),$(PAYLOAD), linux.bin.gz) ; dd
conv=sync bs=$(PAYLOAD_SIZE) count=1 if=$< of=$@
                             ^^^^^^^

This is so you can specify
payload /dev/zero
and get a null-filled file with the right size.

Obviously a payload of /dev/0xff would be better but there is no such
device :=(

Both of these have been tested here and work fine, so I hope they won't
hurt any of you.

ron

Reply via email to