Skip to contentSkip to conversation

post_codes in u-boot?

U-Boot Haleigh Novak 2 participants 2 messages Dec 9, 2016 – Dec 12, 2016

lore
Share & tools
lore
#0 lore raw

Hello All,

I am currently deciphering post_code ouput on a machine running Yocto with a bios of coreboot with a payload of SeaBIOS and another (i think) u-boot, in searching online for one of the post_code values I stumbled on a post (http://lists.denx.de/pipermail/u-boot/2016-January/241577.html) noting that u-boot has post codes of its own. I was wondering if there was a consolidation of most (if not all) of the post_codes used, like there sort of is in coreboot at /src/console/post_code.h; or if there is not would someone mind giving me a direction on what function(s) u-boot uses to post the u-boot post_codes; i.e. coreboot utilizes a function called post_code as well as asm code and some of the binaries have their own post codes - is there anything like that in u-boot?

Thank you for your time.

HN

#1 lore raw

Hi,

Quoted 4 lines · Haleigh Novak

Hello All,

I am currently deciphering post_code ouput on a machine running Yocto with a bios of coreboot with a payload of SeaBIOS and another (i think) u-boot, in searching online for one of the post_code values I stumbled on a post (http://lists.denx.de/pipermail/u-boot/2016-January/241577.html) noting that u-boot has post codes of its own. I was wondering if there was a consolidation of most (if not all) of the post_codes used, like there sort of is in coreboot at /src/console/post_code.h; or if there is not would someone mind giving me a direction on what function(s) u-boot uses to post the u-boot post_codes; i.e. coreboot utilizes a function called post_code as well as asm code and some of the binaries have their own post codes - is there anything like that in u-boot?

See arch/x86/include/asm/post.h. There is a function post_code() to do post codes.

Regards,
Bin