Hello. Everyone.

This is my first post in uClinux-dev!!

I am work around NetBurner MOD5272 with kernel 2.4.34.5-uc0, uClinux-dist-20110603.

I found that reboot comand not work, neither normal nor the BusyBox.
The problem is in file: /linux-2.4.x/include/asm-m68knommu
There is no correct defenition of HARD_RESET_NOW() function for board MOD5272, and it defines the default function (this cause:

Restarting system.
Access Error Exception 12: Error on data read
Oops: 00000000
PC: [<02003910>]
.....
.....)

I add some line codes in file, after line 278:

#elif defined(CONFIG_M5272) && defined(CONFIG_BOARD_MOD5272)
#define HARD_RESET_NOW() ({             \
        asm("                              \
                    movew #0x2700, %sr;         \
                    jmp 0xffc00008;             \
             ");                           \
})

It works for me.
I'm new in the world of uClinux.

Best Regards.
Domingos Goncalves



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to