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.

Linux/AM3354: Changing Register Value(gmii_sel_register)

Part Number: AM3354


Tool/software: Linux

Dear TI Team,

We would like to change gmii_sel_register value from 0x00000005 to 0x0000000FD.  In our trials we tried to write the value with using devmem2 but then once we read the register, it is remained same, nothing is changed. Normally, In TRM,it is written that the register has a R/W option. So is it possible to make this change over command line with using devmem2 tool?

devmem2

Many Thanks,

Regards,
Zafer Çalışkan

  • Hello,

    GMII_SEL is part of the AM335x Control Module registers and can not be written from user space devmem2 tool. You need to write this register in kernel or in u-boot stage. Check AM335x TRM, section 9.1 introduction:

    Note: For writing to the control module registers, the MPU will need to be in privileged mode of operation and writes will not work from user mode.

    Regards,
    Pavel