This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X: EEPROM check

Hi there

we made a custom board from AMX3358 processor this is exactly same as Beaglebone black

when i try to power up the board i get this message

-------------------------------

U-Boot SPL 2014.07-g42847eb (Jul 23 2016 - 16:09:36)
Incorrect magic number (0xffffffff) in EEPROM
Could not get board ID.
Incorrect magic number (0xffffffff) in EEPROM
Could not get board ID.
Unknown board, cannot configure pinmux.### ERROR ### Please RESET the board ###

------------------------------

i tried this method

but i still see C character on the terminal 

all i have done is taken a kingston micro sd card formatted with FAT32 and dropped 3 files 

MLO
app
SK3358ID.txt

but when i power down and power up i can see that the C character repeatedly appears on the terminal

also your procedure says serial number may i know what is the serial number or can i give any serial number of my choice as per " WWYY4P15NNNN " 

for example 08174P150001

i just want to know if u-boot or kernel or any part of software behaves differently with this serial number

also i have a evaluation board of beaglebone black in which i can see everthing boots up perfect just took a hexdump of the first 60 bytes of EEPROM bellow is the hexdump

--------------

127|root@beagleboneblack:/ # busybox hexdump log.txt
0000000 55aa ee33 3341 3533 4e42 544c 3030 3043
0000010 3834 3531 4242 4b42 3030 3539 ffff ffff
0000020 ffff ffff ffff ffff ffff ffff ffff ffff

---------------

i am using latest software 

Regards

Nick

w

  • Hi,

    1. Have you programmed your EEPROM? What board type have you set?
    2. The U-boot you use is quite old. Can you try with the latest SDK: software-dl.ti.com/.../index_FDS.html
  • Thanks Biser

    as I mentioned this is custom board just fabricated and assembled in which case the EEPROM will be empty
    can you please tell me how to program the EEPROM

    Regards
    Nick
  • Hi Nick,

    The question is do you really need this EEPROM? The primary use of this is to differentiate between EVM boards and revisions, allowing pre-built SDK images to run directly on all of them. If you don't need it you can easily skip the EEPROM check as described here: e2e.ti.com/.../876780
  • Thanks Biser

    I do not need this EEPROM

    but I have an evaluation board it works perfectly fine all the software is perfect on the evaluation board when I see the evaluation board EEPROM data in hex
    ------------------------------
    0000000 55aa ee33 3341 3533 4e42 544c 3030 3043
    0000010 3834 3531 4242 4b42 3030 3539 ffff ffff
    0000020 ffff ffff ffff ffff ffff ffff ffff ffff
    -----------------------------------

    so I would like to hardcode these values so that it can skip EEPROM read

    but as per the above hex I see that

    ----------------------------------------------------------

            Board magic   : EE3355AA

            Board name   : A335BNLT
            Board version: 00C0
            Board serial :  4815BBBK0095
            Board config :

    ---------------------------------------------------------------------

    but this evaluation board is perfect and we prefer the same image

    my question is I do not see anything in the Board config value I am wondering is that ok to have nothing in the Board config value

    will the software (kernel + bootloader(pinmux)) be loaded correctly even without a Board config value. please let me know

    also where is the mac address stored is it in EEPROM or in AM335X processor


    Regards
    Nick

  • Hello Nick,

    Nick King said:

    all i have done is taken a kingston micro sd card formatted with FAT32 and dropped 3 files

    Does this FAT32 partition has a bootable flag toggled?

    Nick King said:

    i just want to know if u-boot or kernel or any part of software behaves differently with this serial number

    No, the serial number should not change any behaviour on the board.

    Nick King said:

    but I have an evaluation board it works perfectly fine all the software is perfect on the evaluation board when I see the evaluation board EEPROM data in hex

    Please, see this post. You can skip the EEPROM check as previously Biser has explained then program the EERPOM ID memory layout from U-Boot console by using the i2c commands.

    Best regards,
    Kemal

  • thanks sakir where is the mac address stored is it in EEPROM or in AM335X processor
  • Please, see this post.