Hi
I am trying to write some boot code for the 8148 processor so that it will boot from NOR flash. I have managed to load the image into flash at address 0x08000000 and when i boot the board my code correctly start to run. My program copies some code from the NOR flash to the OCMC ram. This code then tries to set up the PINMUX to enable the remaning address lines 12-27 so that the rest of the NOR flash can be accessed. The problem is i cannot find the correct PINMUX settings for the 8148 board and when i return from the code running in OCMC i cannot see the code in Flash anymore. This is obviously because i have messed up the address lines or GPMC settings somehow.
I have based my code on lowlevel_init.s in uboot but this code seems to be written for the 8168 board and not the 8148 board as the base address of register dont quite match.
Has anyone managed to get the NOR flash boot to work on a 8148 board and if so what PINMUX settings did you use to set the remaining address lines? Did any GPIO's need to be set i have currently set GPIO1 pin 22 as an output pin and driven it low.
(We have also done the hardware mode to the eval board to remove resistors to get the NOR Flash boot to work),.
Thanks
Matt Noakes