Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-04-12 Thread The Gluglug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30/03/15 12:04, Alexandru Gagniuc via coreboot wrote: > They probably already did, but didn't document it. That sounds about right. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJVKv0CAAoJEP9Ft0z50c+UflsH/RdshBMg5mTd6dSXLQo4Jbc9

Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-30 Thread Alexandru Gagniuc via coreboot
On Friday, March 27, 2015 11:49:54 AM Berth-Olof Bergman wrote: > Personally I don’t understand why boot loaders insist on writing the code > the way they do. There is BIOS services for boot device I/O, serial port > debug and putting payloads anywhere in memory. I think a boot loader will > suffic

Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-27 Thread Peter Stuge
Berth-Olof Bergman wrote: > Personally I don’t understand why boot loaders insist on writing > the code the way they do. There is BIOS services I'm afraid you've missed the whole point of coreboot; to break away from the extremely limited and technically nonsensical legacy BIOS. //Peter -- cor

Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-27 Thread Berth-Olof Bergman
Personally I don’t understand why boot loaders insist on writing the code the way they do. There is BIOS services for boot device I/O, serial port debug and putting payloads anywhere in memory. I think a boot loader will suffice running in 16-bit real mode or unreal mode (16-bit code, 32-bit dat

Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-26 Thread Alexandru Gagniuc via coreboot
On Thursday, March 26, 2015 07:53:04 AM Paul Menzel wrote: > The file is now 578K big and in CBFS the compressed size is a little > over 200 KB. > I never understood how grub2 can do less than seabios but be much larger. OK, you caught me! grub2 can read files off a disk. Alex -- coreboot mail

Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-26 Thread Iru Cai
I finally know what happened. I forgot to rip out the fonts, themes and languages of the payload. On Thu, Mar 26, 2015 at 3:10 PM, Zaolin wrote: > Hi, > > simply fix this problems by increasing the cbfs size in menuconfig > under the chipset section. > > Regards Zaolin > > Dear Iru, > > > > > >

Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-26 Thread Zaolin
Hi, simply fix this problems by increasing the cbfs size in menuconfig under the chipset section. Regards Zaolin > Dear Iru, > > > welcome to coreboot! > > > Am Donnerstag, den 26.03.2015, 09:33 +0800 schrieb Iru Cai: > > I tried to use GRUB2 as a payload when building coreboot for ThinkPad X

Re: [coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-25 Thread Paul Menzel
Dear Iru, welcome to coreboot! Am Donnerstag, den 26.03.2015, 09:33 +0800 schrieb Iru Cai: > I tried to use GRUB2 as a payload when building coreboot for ThinkPad X201, > but it's too big to fit into the rom. The GRUB2 coreboot image without > modules is 2.8M and >800K after compressing, it's s

[coreboot] GRUB2 is too big as a payload in ThinkPad X201

2015-03-25 Thread Iru Cai
I tried to use GRUB2 as a payload when building coreboot for ThinkPad X201, but it's too big to fit into the rom. The GRUB2 coreboot image without modules is 2.8M and >800K after compressing, it's still too big. I think FILO and u-boot are good alternatives but not so user-friendly and documented