LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   uboot crash at BUS configuration Marco (https://www.linuxquestions.org/questions/linux-hardware-18/uboot-crash-at-bus-configuration-marco-4175504790/)

georgewhr 05-12-2014 11:53 PM

uboot crash at BUS configuration Marco
 
I have two gcc, 4.2.4 and 4.3.5. When I compiled the uboot by 4.2.4, it works ok on MIPS target board. But however by using 4.3.5 to compile the uboot, the uboot is crashed. I have no idea how compiler affects the uboot crash since the uboot source code I compiled is same. I found it crashed at the part as below:
#define ath_reg_wr(_phys, _val) do { \
ath_reg_wr_nf(_phys, _val); \
ath_reg_rd(_phys); \


#define ath_reg_wr_nf(_phys, _val) \
((*(volatile ath_reg_t *)KSEG1ADDR(_phys)) = (_val))


Any idea?

georgewhr 05-13-2014 06:05 PM

any idea?


All times are GMT -5. The time now is 02:43 PM.