[coreboot] Re: coreboot on Chromebook octopus/casta/bluebird with u-boot payload - blank screen

2021-07-22 Thread Matt DeVillier
On Thu, Jul 22, 2021 at 3:56 PM James Feeney wrote: > > On 7/3/21 8:22 AM, Matt DeVillier wrote: > > Thanks for that. > > > I don't see the command you used to flash -- what was that? You also > > didn't clear the WP range (flashrom --wp-range 0,0) which has > > historically been needed on small

[coreboot] Re: coreboot on Chromebook octopus/casta/bluebird with u-boot payload - blank screen

2021-07-22 Thread James Feeney
On 7/3/21 8:22 AM, Matt DeVillier wrote: Thanks for that. > I don't see the command you used to flash -- what was that? You also > didn't clear the WP range (flashrom --wp-range 0,0) which has > historically been needed on small core/Atom boards, but if you didn't > get an error flashing/erasing

[coreboot] GDB stub & bootblock dependencies (CONFIG_IDT_IN_EVERY_STAGE=y)

2021-07-22 Thread Samek, Jan
Hello, I am currently developing on Intel TGLRVP-UP3, but this should be relevant for other TGL-based platforms and possibly all other that set CONFIG_IDT_IN_EVERY_STAGE=y: When I try to use the GDB stub for my debug attempts on TGL (CONFIG_GDB_STUB=y), I get the following 'undefined

[coreboot] Re: coreboot on Chromebook octopus/casta/bluebird with u-boot payload - blank screen

2021-07-22 Thread James Feeney
On 7/22/21 3:53 PM, Matt DeVillier wrote: ... >> I get "No EEPROM/flash device found". Running with -V, I see flashrom is >> just reading all 1's. > > you need to open the CCD first. With the battery disconnected, from a > terminal attached to /dev/ttyUSB0, run: > ccd open > ccd reset factory >

[coreboot] Re: GDB stub & bootblock dependencies (CONFIG_IDT_IN_EVERY_STAGE=y)

2021-07-22 Thread Lance Zhao
Then those console.c and uart.h need to follow to include in every stage? Samek, Jan 于2021年7月23日周五 上午12:15写道: > Hello, > > I am currently developing on Intel TGLRVP-UP3, but this should be relevant > for other TGL-based platforms and possibly all other that set > CONFIG_IDT_IN_EVERY_STAGE=y: >

[coreboot] Re: GDB stub & bootblock dependencies (CONFIG_IDT_IN_EVERY_STAGE=y)

2021-07-22 Thread Zeh, Werner
Hi Jan. The problem here is that the needed functions for GDB in console are not included in bootblock. In src/console/console.c you can see: #if CONFIG(GDB_STUB) && (ENV_ROMSTAGE || ENV_RAMSTAGE) void gdb_hw_init(void) { __gdb_hw_init(); } void gdb_tx_byte(unsigned char byte) {