First thing is to get serial output as there will probably be other hurdles before the display works. I used coreboot bayleybay as the basis and it had the port mentioned (pin BD14 (GPIO_S0_SC[57]))) setup for debug output and the baud rate of 115200. Minnowboard may be different. Also, I had to setup the full 8MB of flash using the FITC tool but this is probably not your issue since you probably have serial output already. All I can think of is baud rate setting under console in "make menuconfig".
Also the output may be setup to output POST codes only in which case to a text terminal it will like only junk is coming out. Make sure console debug level is set to DEBUG or SPEW to get a lot more debug initially. Also Enable "Serial Port Console output"
From: Mayuri Tendulkar [mailto:mayuri.tendulkar@aricent.com] Sent: Tuesday, 12 July 2016 10:53 AM To: Naveed Ghori Subject: Re: Help on setting clock speed in coreboot
We didn't change anything. Our base is valley island. As it was not having serial, we took tht part same as Minnowboard (PCU UART)
Tried different rates but doesn't work.
We checked TTL levels, so we were seeing freq as 38.4, so tried tht also.
Somehow its stuck somewhere as we don't see USB and display also not coming, but nt able to get exact data due to serial prints.
From: Naveed Ghori [mailto:naveed.ghori@dti.com.au] Sent: 11 July 2016 19:48 To: Mayuri Tendulkar <mayuri.tendulkar@aricent.commailto:mayuri.tendulkar@aricent.com> Subject: Re: Help on setting clock speed in coreboot
Did you change anything? Is your base Bayley Bay? The default setting for it are 115200 with the output pin as per below. Check the console settings in the menuconfig. If you are getting junk then I assume it is already enabled but maybe just the baud is modified by mistake.
From: Mayuri Tendulkar [mailto:mayuri.tendulkar@aricent.com] Sent: Tuesday, 12 July 2016 10:45 AM To: Naveed Ghori Subject: Re: Help on setting clock speed in coreboot
But what settings to be added in coreboot config?
From: Naveed Ghori [mailto:naveed.ghori@dti.com.au] Sent: 11 July 2016 18:42 To: Mayuri Tendulkar <mayuri.tendulkar@aricent.commailto:mayuri.tendulkar@aricent.com>; coreboot <coreboot@coreboot.orgmailto:coreboot@coreboot.org> Subject: Re: Help on setting clock speed in coreboot
We take the pins direct off the E3845 (only really need the tx (pin BD14 (GPIO_S0_SC[57]))). The pins direct are TTL so we had to use a TTL-USB serial port converter.
From: Mayuri Tendulkar [mailto:mayuri.tendulkar@aricent.com] Sent: Tuesday, 12 July 2016 9:37 AM To: Naveed Ghori; coreboot Subject: Re: Help on setting clock speed in coreboot
Thanks. We tried 115200, but it didn't work. We checked TTL levels and tried to match, but no luck.
Are you using PCU UART (same as minnowboard) or anything different?
From: Naveed Ghori [mailto:naveed.ghori@dti.com.au] Sent: 11 July 2016 18:17 To: Mayuri Tendulkar <mayuri.tendulkar@aricent.commailto:mayuri.tendulkar@aricent.com>; coreboot <coreboot@coreboot.orgmailto:coreboot@coreboot.org> Subject: Re: Help on setting clock speed in coreboot
Hi, Garbage usually means baud rate. Did you try 115200baud? If you are still getting garbage I would recommend seeing it on the scope and making sure voltage levels are fine. The output by default would be TTL level and may need to be converted. I have used some TTL (1.8V if I remember correctly (TTL-232RG) to convert the signal so I could read the output.
Cheers, Naveed
From: coreboot [mailto:coreboot-bounces@coreboot.org] On Behalf Of Mayuri Tendulkar Sent: Tuesday, 12 July 2016 8:27 AM To: coreboot Subject: [coreboot] Help on setting clock speed in coreboot
Hi Team
I have a customized board based on Intel valley island design. Reference design uses Intel Baytrail processor E3825, while my design is using E3845.
I am customizing coreboot for this E3845, but getting just garbage on coreboot, so not able to debug where it is stuck.
When I add memory test as secondary payload, I cd see some operations happening on console but not able to decode it.
Tried with all possible baud rates, but no success. USB and display also not enumerating.
Can you please give some clue? Is it due to different core speed for E3835(1.33GHZ) vs E3845(1.91GHz).
Where is the option to change this in coreboot?
Appreciate your support.
Regards Mayuri "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
Hi
Minnowboard also uses the same pin BD14 (GPIO_S0_SC[57]) as TX and 61 as RX and baud rate 115200.
We have not enabled post codes, but only enabled serial port console o/p.
It works fine on Minnowboard, but not on this.
So not getting any clue.
Regards Mayuri
From: Naveed Ghori [mailto:naveed.ghori@dti.com.au] Sent: 11 July 2016 20:03 To: Mayuri Tendulkar mayuri.tendulkar@aricent.com; coreboot coreboot@coreboot.org Subject: Re: Help on setting clock speed in coreboot
First thing is to get serial output as there will probably be other hurdles before the display works. I used coreboot bayleybay as the basis and it had the port mentioned (pin BD14 (GPIO_S0_SC[57]))) setup for debug output and the baud rate of 115200. Minnowboard may be different. Also, I had to setup the full 8MB of flash using the FITC tool but this is probably not your issue since you probably have serial output already. All I can think of is baud rate setting under console in "make menuconfig".
Also the output may be setup to output POST codes only in which case to a text terminal it will like only junk is coming out. Make sure console debug level is set to DEBUG or SPEW to get a lot more debug initially. Also Enable "Serial Port Console output"
From: Mayuri Tendulkar [mailto:mayuri.tendulkar@aricent.com] Sent: Tuesday, 12 July 2016 10:53 AM To: Naveed Ghori Subject: Re: Help on setting clock speed in coreboot
We didn't change anything. Our base is valley island. As it was not having serial, we took tht part same as Minnowboard (PCU UART)
Tried different rates but doesn't work.
We checked TTL levels, so we were seeing freq as 38.4, so tried tht also.
Somehow its stuck somewhere as we don't see USB and display also not coming, but nt able to get exact data due to serial prints.
From: Naveed Ghori [mailto:naveed.ghori@dti.com.au] Sent: 11 July 2016 19:48 To: Mayuri Tendulkar <mayuri.tendulkar@aricent.commailto:mayuri.tendulkar@aricent.com> Subject: Re: Help on setting clock speed in coreboot
Did you change anything? Is your base Bayley Bay? The default setting for it are 115200 with the output pin as per below. Check the console settings in the menuconfig. If you are getting junk then I assume it is already enabled but maybe just the baud is modified by mistake.
From: Mayuri Tendulkar [mailto:mayuri.tendulkar@aricent.com] Sent: Tuesday, 12 July 2016 10:45 AM To: Naveed Ghori Subject: Re: Help on setting clock speed in coreboot
But what settings to be added in coreboot config?
From: Naveed Ghori [mailto:naveed.ghori@dti.com.au] Sent: 11 July 2016 18:42 To: Mayuri Tendulkar <mayuri.tendulkar@aricent.commailto:mayuri.tendulkar@aricent.com>; coreboot <coreboot@coreboot.orgmailto:coreboot@coreboot.org> Subject: Re: Help on setting clock speed in coreboot
We take the pins direct off the E3845 (only really need the tx (pin BD14 (GPIO_S0_SC[57]))). The pins direct are TTL so we had to use a TTL-USB serial port converter.
From: Mayuri Tendulkar [mailto:mayuri.tendulkar@aricent.com] Sent: Tuesday, 12 July 2016 9:37 AM To: Naveed Ghori; coreboot Subject: Re: Help on setting clock speed in coreboot
Thanks. We tried 115200, but it didn't work. We checked TTL levels and tried to match, but no luck.
Are you using PCU UART (same as minnowboard) or anything different?
From: Naveed Ghori [mailto:naveed.ghori@dti.com.au] Sent: 11 July 2016 18:17 To: Mayuri Tendulkar <mayuri.tendulkar@aricent.commailto:mayuri.tendulkar@aricent.com>; coreboot <coreboot@coreboot.orgmailto:coreboot@coreboot.org> Subject: Re: Help on setting clock speed in coreboot
Hi, Garbage usually means baud rate. Did you try 115200baud? If you are still getting garbage I would recommend seeing it on the scope and making sure voltage levels are fine. The output by default would be TTL level and may need to be converted. I have used some TTL (1.8V if I remember correctly (TTL-232RG) to convert the signal so I could read the output.
Cheers, Naveed
From: coreboot [mailto:coreboot-bounces@coreboot.org] On Behalf Of Mayuri Tendulkar Sent: Tuesday, 12 July 2016 8:27 AM To: coreboot Subject: [coreboot] Help on setting clock speed in coreboot
Hi Team
I have a customized board based on Intel valley island design. Reference design uses Intel Baytrail processor E3825, while my design is using E3845.
I am customizing coreboot for this E3845, but getting just garbage on coreboot, so not able to debug where it is stuck.
When I add memory test as secondary payload, I cd see some operations happening on console but not able to decode it.
Tried with all possible baud rates, but no success. USB and display also not enumerating.
Can you please give some clue? Is it due to different core speed for E3835(1.33GHZ) vs E3845(1.91GHz).
Where is the option to change this in coreboot?
Appreciate your support.
Regards Mayuri "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."