AnsweredAssumed Answered

Jumping from application running on internal ram to Boot Rom

Question asked by niranjanbc on Nov 8, 2017
Latest reply on Nov 9, 2017 by niranjanbc

below are the functions i perform now on IMx6Solox board.

1. i have U-boot.2016 running which loads simple binary to internal ram. below are the steps performed.

      a. fatload mmc ${mmcdev}:${mmcpart} 0x00907000 simplebinary.bin

      b. dcache off

      c. icache off

      d. go 0x907000

2. now in simple binary fimrware executing out of internal, i do ddr ram test( writing and reading back to memory area)

3. once i finish the ram test, i jump back to boot rom has below.

        void (*bootRom)(void) = 0x000;

        (*bootRom)();

4. now it jumps back and start u-boot fine, but what i observe is i am not control GPIO pins at all.

 i tried all gpio commands gpio set 8,  gpio clear 8.... nothing works.

the same gpio control works fine in u-boot before starting simple binary firmware from internal ram.

 

i have recycle the power to make it work again.

Outcomes