Submitter | Nathan Williams |
---|---|
Date | 2011-02-25 02:34:59 |
Message ID | <1298601299.2603.100.camel@dualcore.traverse> |
Download | mbox | patch |
Permalink | /patch/2694/ |
State | Not Applicable |
Headers | show |
Comments
* Nathan Williams <nathan@traverse.com.au> [110225 03:34]: > load_linux_kernel() checks using_devsize, so we need to > clear it if we are using Artec loader without a file > system. > > Signed-off-by: Nathan Williams <nathan@traverse.com.au> Thanks, r142
Patch
Index: i386/artecboot.c =================================================================== --- i386/artecboot.c (revision 140) +++ i386/artecboot.c (working copy) @@ -126,6 +126,7 @@ part_start = bootHdr.kernelStart >> DEV_SECTOR_BITS; part_length = ((bootHdr.kernelSize-1) >> DEV_SECTOR_BITS) + 1; filemax = bootHdr.kernelSize; + using_devsize = 0; linux_load(file, bootHdr.cmdLine); }
load_linux_kernel() checks using_devsize, so we need to clear it if we are using Artec loader without a file system. Signed-off-by: Nathan Williams <nathan@traverse.com.au>