Re: [Etherboot-developers] [COMMIT] 5.1.2+ boot from disk.
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Eric W B. <ebi...@ln...> - 2002-08-27 18:17:39
|
ke...@us... (Ken Yap) writes: > >O.k. The BIOS based currticks is definitely bugging in the > >presence of relocation. The absolute BIOS addresses are not > >fixed up, so if any amount of relocation is applied the will > >read the wrong address. > > Ok, that fix works, thanks. Welcome, then I will get that change committed. > And the .lzrom version has no problem with loading to 0x20000. You might want to try the .nrv2brom variant as well. I probably should just totally switch so we don't have an excess of compressors, something else to do before 5.2. > The 3c509 is a nice card to start with as it only uses I/O instructions. O.k. So the 3c509 is done. Cool. > There is a small glitch though. After the second > bootloader runs, sometimes it's unable to find the NIC the next time > around and has to wait for a full reset. Ouch. I wonder what causes that. I'm pretty certain the init path didn't change. > Slightly related, but in main.c there's a static int card_retries = 0 > which will not be reset by a longjmp. Probably needs to be made > non-static and (re)set to 0 during initialisation. Probably correct. That piece hasn't changed since 5.0. Basically all it does is give an increasingly longer timeout every time it is hit, so it shouldn't be a correctness problem. Eric |