Skip to content

Commit

Permalink
Fix PXE boot
Browse files Browse the repository at this point in the history
-tar fs buffer upgraded to 9Mb
-adding some kernel addons

With this settings i was able to fully boot a gcc2hybrid.
The x86_64 started up to the rocket, but could'nt go into Tracker.

Change-Id: I8f9e1f803f4a918419305bce3068ffce027d2548
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5295
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
  • Loading branch information
Sylvain78 authored and pulkomandy committed May 13, 2022
1 parent c2a9a89 commit c2066ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build/jam/images/NetBootArchive
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
x86 @{
3com atheros813x atheros81xx
broadcom440x broadcom570x ipro1000
rtl8139 rtl81xx
rtl8139
via_rhine ipro100 nforce
marvell_yukon sis900 syskonnect
attansic_l2
}@ # x86

etherpci pegasus usb_ecm wb840
rtl81xx etherpci pegasus usb_ecm wb840
] ;
SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
pci isa@x86 ata
scsi agp_gart
scsi agp_gart
dpc acpi
] ;
SYSTEM_ADD_ONS_FILE_SYSTEMS = bfs packagefs ;

Expand Down
2 changes: 1 addition & 1 deletion src/system/boot/loader/file_systems/tarfs/tarfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

static const uint32 kFloppyArchiveOffset = BOOT_ARCHIVE_IMAGE_OFFSET * 1024;
// defined at build time, see build/jam/BuildSetup
static const size_t kTarRegionSize = 8 * 1024 * 1024; // 8 MB
static const size_t kTarRegionSize = 9 * 1024 * 1024; // 9 MB


using std::nothrow;
Expand Down

0 comments on commit c2066ed

Please sign in to comment.