Code: Select all
./mkminimyth.pl [ --clean | -d | --<section> | --help | -h where --clean Clean up the build environment --clobber Clean up and remove local archive copies -d Debug mode: saves downloaded archives and reuses them Sections to build: all Builds everything base Creates the debian build environment busybox Builds BusyBox inside the base kernel Builds a kernel inside the base audio Builds the Viaudiocombo package inside the base (only for 2.4 kernels, however) devfs Builds the devfs driver for the given kernel xfree86 Builds XFree86/Unichrome from source in the base config Copies in the config files into the ROOTFS utils Builds utilities like telnet, ftp, etc. myth Builds MythTV video Builds the configured video player (mplayer, VeXP, etc.) sensors Builds the LMSensors package in the base pkg Packages everything into the bits needed for PXE booting
Mostly I'm doing this out of curiosity but partly because I wanted to try and solve the 6-channel audio issue and that meant building a new kernel based on 2.6. So that's where I'm at now. Building all the rest of the pieces just seemed like a useful project to reproduce the package as a whole when needed. If anyone would like to help me with this project, let me know. I'll be wrapping the build script inside of a Makefile in the long run (for ease of use).
The problem right now is that while the build works fine, the generated bzImage/rootfs don't boot. I'm missing a kernel configuration item somewhere. When the kernel boots and loads the cramfs image I get as far as loading the RAMDISK. Then I get this error:
Code: Select all
RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 7508 block [1 disk] into ram disk ... done. UDF-fs: No VRS found Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0)
The following config items, which I think are relevant, are configured for the 2.6 kernel:
Anyone have any ideas on what else I might be missing? I can post the complete config file if anyone wants to see it, or email it privately.