I have a couple of builds of a custom OSD3358-512M-BSM based boards that have been working well. This design was based on the PocketBeagle and runs a standard PocketBeagle BB Bullseye image. Due to supply chain lead times, the first couple of builds used OSD3358-512M-BSM removed and reballed from actual PocketBeagle boards, and therefore had their EEPROMs programmed as such.
I am now bringing up our first boards (3rd build run) with new OSD3358-512M-ISM and un-programmed EEPROMs (all xFFs). I would like not have to not rebuild U-Boot and use the standard BB builds, therefore I would like to reprogram the EEPROM. I followed these steps (shown elsewhere in the forums) to do so:
1 ) I downloaded RobertCNelson’s older EEPROM build to drop into the U-Boot console:
2) Booted the image and dropped into the U-Boot console. Verified the EEPROM was all xFFs, then followed the instructions for reprogramming the EEPROM here:
https://www.siliconbladeconsultants.com/2020/07/06/beaglebone-black-and-osd335x-eeprom/
I also cloned the 0x0010 offset serial number from a PocketBeagle I have. This resulted in the EEPROM reading:
=> i2c dev 0
Setting bus to 0
=> i2c md 0x50 0x00.2 20
0000: aa 55 33 ee 41 33 33 35 50 42 47 4c 30 30 41 32 .U3.A335PBGL00A2
0010: 31 37 35 30 45 50 42 30 36 30 35 38 ff ff ff ff 1750EPB06058....
3) Powered down, swapped the SD card back to a standard PocketBeagle image (am335x-debian-11.3-iot-armhf-2022-04-01-4gb). At this point, the board does not show "C"s on the console at boot and does not boot. The UART0 console is blank. Removing the SD card brings back the "C"s.
Things to note:
- If I understand correctly, the lack of "C"s means U-Boot started but did not find an image on the SD matching the EEPROM magic word
- The standard PocketBeagle image boots fine on a PocketBeagle and on the previous run of these boards
- The RobertCNelson a335-eeprom-debian-8.6-console-armhf image will boot and load the Linux kernel when the EEPROM is all FFs, but will not boot once the EEPROM is programed (in fact I can get no image to boot!)
- I can use the a335-eeprom-debian-8.6-console-armhf image to set the first 32 bytes to FFs on a PocketBeagle board, reboot, and then reprogram the EEPROM back to the above and it successfully boots the PocketBeagle image again.
Is there any other information contained in the EEPROM that affects the SD card boot beyond the first 32 bytes?
Is there any known difference in a Q3 2022 OSD3358-512M-ISM SoC versus an earlier OSD3358-512M-BSM SoC that would affect SD Booting?
Thanks,
Aaron