Philip Prindeville wrote: > In addition to what Darrick said, starting with 1624 on trunk, if you add: > > export ASTKD=/dev/hda2 > > to your .bash_profile (or whatever), then every time you build "make all > runfs", then the contents of build_i586/runfs/os/ will be modified to > include the appropriate kernel parameters for booting Linux. > > If you're an early adopter and using the Unionfs stuff, then setting: > > export ASTURW=/dev/hda3 > > (for instance) also works. Or "ASTKD=auto", etc... > > It will look at the size of your rootfs.i586.ext2 filesystem image (what > your image uncompresses back to), and if it's more than 90MB, it will > insert "noram" into the kernel parameters as well... (Darrick: the 90MB > is hard coded... is there a variable that this could be inherited from? > Or is it hard-coded elsewhere?)
I hard coded the 90MB in target/initrd/target_skeleton/linuxrc. By default otherwise it uses 50% of the available ram (which is not desirable). Most images should be well under that limit anyway. (an image I built a few weeks back that has gsm, ulaw AND g729 core sounds is 56MB). Long-term, the asturw and astkd variables will both be set to auto by default and rely on file system labels to identify the correct partition. -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
