[coreboot] FILO patch for fast link bug
Wang, Qingpei
Qingpei.Wang at amd.com
Tue Aug 19 11:17:28 CEST 2008
Hi all
The attach file is used to fix the fast link bug in filo.
And now it can boot linux.
--- filo-0.5/fs/fsys_ext2fs.c 2005-11-15 17:37:30.000000000 +0800
+++ filo-0.5-new/fs/fsys_ext2fs.c 2008-08-19 13:08:12.000000000
+0800
@@ -618,7 +618,7 @@
linkbuf[filemax + len] = '\0';
/* Read the symlink data. */
- if (INODE->i_blocks)
+ if (INODE->i_size>0x3C)
{
/* Read the necessary blocks, and reset the file pointer.
*/
len = grub_read (linkbuf, filemax);
Jason Wang
BeiJing Technology Development Center
Advanced Micro Devices (AMD)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filo.patch
Type: application/octet-stream
Size: 467 bytes
Desc: filo.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080819/addce928/attachment.obj>
More information about the coreboot
mailing list