Part Number: AM3358
Devices such as a beaglebone black have a string written to eeprom that u-boot reads and uses to configure the peripherals. There is a guide about this here: OSD335x EEPROM During Boot.
If you just put an AM335X chip on a board, it won't boot linux until eeprom is flashed with the board id. My question is this: where in u-boot does it actually fail when the board id isn't set?
What I've tried so far:
I see that the board id is checked and pinmux is configured in <u-boot src>/board/ti/am335x/board.h and <u-boot src>/board/ti/mux.c.
I also found that the bootloader starts in start.S and eventually winds up in board_r.c, and loops through the commands in init_sequence_r, defined on line 679. I understand that if any of those functions fail, u-boot won't boot. I've checked some of those functions but I don't see any reference to the board id