Re: [coreboot] [RFC] Explicitly use C89 (was: Setting C99 by default)

2016-11-28 Thread Stefan Tauner
Paul can you please - without looking it up - name two new features of C99 compared to C89? -- Kind regards/Mit freundlichen Grüßen, Stefan Tauner -- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] [RFC] Explicitly use C11

2016-11-28 Thread Nico Huber
On 29.11.2016 00:23, Alexander Couzens wrote: > I like the idea of using C11. I would be looking forward to that. Nico -- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] [RFC] Setting C99 by default

2016-11-28 Thread Nico Huber
On 27.11.2016 23:07, Paul Menzel via coreboot wrote: > Dear coreboot folks, > > > Using GCC 4.9.2 coreboot fails to build for certain boards, whose code > uses ‘for’ loop initial declarations. > > ``` > $ gcc --version > gcc (Debian 4.9.2-10) 4.9.2 > […] > $ make # lenovo/x60 with native

Re: [coreboot] Rettungsboot

2016-11-28 Thread Nico Huber
On 28.11.2016 20:26, David Hendricks via coreboot wrote: > On Sun, Nov 27, 2016 at 8:28 PM, ron minnich wrote: > >> yeah, david and nico both make very good points. I like the idea of JSON >> file, and further we're working on a Go program >> on the u-root project that would

Re: [coreboot] [RFC] Explicitly use C11 (was: Setting C99 by default)

2016-11-28 Thread Alexander Couzens
I like the idea of using C11. best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpeL_QoOUuik.pgp Description: OpenPGP digital signature -- coreboot mailing list: coreboot@coreboot.org

Re: [coreboot] Rettungsboot

2016-11-28 Thread Nico Huber
On 28.11.2016 22:38, ron minnich wrote: > I'm also ok with text protobufs. My only request is that we do not use > binary blobs or XML. Interesting, I think almost everyone would agree to never use XML for anything ;) I've been looking at protobufs, the text-representation looks nice. I like it

Re: [coreboot] Execute Linux on AMD DB-FT3b-LC through GRUB2

2016-11-28 Thread Zoran Stojsavljevic
Grigore, Here are my comments to what you wrote to me: On Mon, Nov 28, 2016 at 7:59 PM, Grigore Lupescu wrote: > Hello Zoran, > > [1-3] I am using the latest Ubuntu 16.04 LTS x64 desktop, 4.4 kernel. > Perfect. Got it. Good to know. 16.04 LTS support back-ports to kernel

Re: [coreboot] Rettungsboot

2016-11-28 Thread ron minnich
I'm also ok with text protobufs. My only request is that we do not use binary blobs or XML. Here's one .json from Harvey, defining rules for libraries. It has some arrays, and shows the use of structure. Seems simple enough to me. My assumption is that this would be parsed by a user level

Re: [coreboot] [RFC] Explicitly use C89 (was: Setting C99 by default)

2016-11-28 Thread Paul Menzel via coreboot
Dear Ron, Am Sonntag, den 27.11.2016, 22:44 + schrieb ron minnich: > Seems reasonable, but on Harvey recently we went with c11. Any reason not > to do that instead? I am sorry, my statement about Linux was incorrect. Linux is explicitly built with C89 [1][2][3]. ``` HOSTCFLAGS   = -Wall

Re: [coreboot] Rettungsboot

2016-11-28 Thread David Hendricks via coreboot
On Mon, Nov 28, 2016 at 12:40 PM, Peter Stuge wrote: > David Hendricks via coreboot wrote: > > On Sun, Nov 27, 2016 at 8:28 PM, ron minnich wrote: > > > I like the idea of JSON file > > > > Now we're talkin' - A standardized data format that is human > >

Re: [coreboot] Rettungsboot

2016-11-28 Thread Peter Stuge
David Hendricks via coreboot wrote: > On Sun, Nov 27, 2016 at 8:28 PM, ron minnich wrote: > > I like the idea of JSON file > > Now we're talkin' - A standardized data format that is human > readable/writeable that can be easily parsed and generated using > small libraries. I

Re: [coreboot] Rettungsboot

2016-11-28 Thread David Hendricks via coreboot
On Sun, Nov 27, 2016 at 8:28 PM, ron minnich wrote: > yeah, david and nico both make very good points. I like the idea of JSON > file, and further we're working on a Go program > on the u-root project that would parse said file (trivial in Go to parse > JSON, it's one

Re: [coreboot] Execute Linux on AMD DB-FT3b-LC through GRUB2

2016-11-28 Thread Grigore Lupescu via coreboot
Hello Zoran, [1-3] I am using the latest Ubuntu 16.04 LTS x64 desktop, 4.4 kernel. [4] I don't know exactly if it's x64 or x86. I have no control over AMI BIOS since it's just a binary I flash into the SPI ROM, which supports the board. [5] I boot Linux using legacy mode (in AMI, the Linux was

Re: [coreboot] Execute Linux on AMD DB-FT3b-LC through GRUB2

2016-11-28 Thread Zoran Stojsavljevic
Hello Grigore, I have here some dummy questions (forgive me for my ignorance), but I need to ask them just for the sake of curiosity (maybe, after all, we can get somewhere if I articulate questions in the right direction/right format for this problem): > If I put a proprietary AMI BIOS, GRUB2

[coreboot] Execute Linux on AMD DB-FT3b-LC through GRUB2

2016-11-28 Thread Grigore Lupescu via coreboot
Hello, I am trying to run Linux through the GRUB2 payload. I am not tied to GRUB2 but it's the only payload that gives me HDMI output (board has no serial port) using Coreboot and AMD FT3B-LC. I have the latest Coreboot sources, have set config accordingly (e.g.

[coreboot] Any one have a experence the coreboot with u-boot?

2016-11-28 Thread 김유석
Dear Sir. My env is see below. board : Intel rangeley MOHON PEAK.(CPU is C2358) I was success boot coreboot + SeaBIOS. This time, I'm try to boot coreboot + u-boot(16.05). But u-boot is every time fail. log is see below. U-Boot 2016.05-rc3 (Nov 28 2016 - 17:04:31 +0900) CPU: