Hi Jared,

MT8183 is able to boot from eMMC/UFS only (but not SPI-NOR). Therefore for the Kukui Chromebook, we decided to emulate eMMC from EC (which contains the bootblock). I guess the problem is that your EC doesn't contain a valid bootblock. Did you ever flash an EC image to the Chromebook?

Did you modify any Kconfig options (in particular those related to bootblock)? Please also double check if CONFIG_CONSOLE_SERIAL is enabled.

On Mon, Aug 14, 2023 at 7:02 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
[Cc: +Mediatek SOC maintainers]

Dear Jared,


Thank you for your message. I am sorry, nobody replied yet.


Am 04.07.23 um 17:24 schrieb Jared Baur:

> I am looking for some advice for configuring coreboot with a uImage
> fit payload for an mt8183 chromebook (Kukui Fennel)? I have said
> fitimage, I've modified the memlayout for the mt8183 board similar to
> https://github.com/coreboot/coreboot/commit/22e605c2c06f553b98131a87b634709aa1818e1f
> so that the fitimage fits in the cbfs and has space to load, and
> coreboot successfully builds. I've also enabled a bunch of debug
> settings for coreboot printing to serial. When flashing the ROM and
> rebooting, the serial console doesn't show anything past bootrom
> messages like so: >
> ```
> [DL] 00000000 00000000 010701
>
> F0: 102B 0000
> F3: 1006 0033 [0200]
> F3: 4001 00E0 [0200]
> F3: 0000 0000
> V0: 0000 0000 [0001]
> 00: 1027 0002
> 01: 0000 0000
> BP: 0C00 0251 [0000]
> G0: 1182 0000
> EC: 0004 0000 [0001]
> S7: 0000 0000 [0000]
> CC: 0000 0000 [0001]
> T0: 0000 00DB [000F]
> Jump to BL
> ```
>
> I am happy to post any configuration that would be helpful. I am
> hoping to just get some serial output from coreboot at this point in
> time, regardless of the payload.
It’d be great, if you attached your configuration file and output of
`build/cbfstool build/coreboot.rom print`.


Kind regards,

Paul


--

Yu-Ping Wu | Software Engineer | yupingso@google.com | +886 937 057 080