tech-install archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Installation kernel for hpcarm



Hello,

What can be done to make it so an installation kernel is automatically
generated for the hpcarm platform? A long time ago the hpcarm port
couldn't boot a kernel bigger than 3.6Mbytes and I'm guessing that's why
this was never set up. But that issue has been fixed and a manually
created install kernel boots up in to sysinst, so I everything is fixed.
Here's what I did:

1) I added the following lines to the kernel config

options         MEMORY_DISK_HOOKS       # boottime setup of ramdisk
options         MEMORY_DISK_ROOT_SIZE=8800      # Size in blocks
options         MEMORY_DISK_IS_ROOT     # use memory disk as root
(I chose 8800 blocks because that's how big the unzipped miniroot.fs file is.

2) I used mdsetimage to embed the disk image into the kernel:

mdsetimage netbsd miniroot.fs

Unfortunately, using an install kernel with the ramdisk as a separate file
doesn't work. This might be a limitation of the Windows CE bootloader, but
I'm not sure.

Anyway, if there's more information needed, I'll do my best to provide it.
I'll also test the installation kernel.

Jason M.





Home | Main Index | Thread Index | Old Index