Zhenxing Luo
2012-12-12 14:53:33 UTC
As I know, uclinux is designed for noMMU device, isn't it?
Sent from my MIPHONE
Sent from my MIPHONE
I have tried to compile the kernel by disabling the MMU, but it gives
arch/arm/mm/proc-macros.S:81:2: error: #error PTE shared bit mismatch
arch/arm/mm/proc-macros.S:84:2: error: #error PTE bufferable bit mismatch
arch/arm/mm/proc-macros.S:87:2: error: #error PTE cacheable bit mismatch
I am a bit confused about disabling the MMU because AT91SAM9X has MMU
support...can u make me clear about that?
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/options/uclinux-dev
arch/arm/mm/proc-macros.S:81:2: error: #error PTE shared bit mismatch
arch/arm/mm/proc-macros.S:84:2: error: #error PTE bufferable bit mismatch
arch/arm/mm/proc-macros.S:87:2: error: #error PTE cacheable bit mismatch
I am a bit confused about disabling the MMU because AT91SAM9X has MMU
support...can u make me clear about that?
Thanks for reply Greg!
No, the MMU is enabled in the kernel configuration.
On Tue, Dec 11, 2012 at 6:51 AM, Greg Ungerer
_______________________________________________No, the MMU is enabled in the kernel configuration.
On Tue, Dec 11, 2012 at 6:51 AM, Greg Ungerer
Hi Arshan,
Are you truly running with MMU disabled?
You will pretty easily be able to tell from your kernel .config.
Regards
Greg
hi,
i m having an issue when i run iptables on AT91SAM9X in uClinux. I get
# iptables -v
pgd = c0474000
[ffff198c] *pgd=203f0031, *pte=00000000, *ppte=00000000
Pid: 372, comm: iptables
CPU: 0 Not tainted (2.6.30.4-uc0 #195)
PC is at 0x401446c4
You need to figure out where this address is.i m having an issue when i run iptables on AT91SAM9X in uClinux. I get
# iptables -v
pgd = c0474000
[ffff198c] *pgd=203f0031, *pte=00000000, *ppte=00000000
Pid: 372, comm: iptables
CPU: 0 Not tainted (2.6.30.4-uc0 #195)
PC is at 0x401446c4
Are you truly running with MMU disabled?
You will pretty easily be able to tell from your kernel .config.
Regards
Greg
LR is at 0x9ad0
pc : [<401446c4>] lr : [<00009ad0>] psr: 60000010
sp : bef16d50 ip : 401446c0 fp : 00000000
r10: 40025000 r9 : 00000000 r8 : 00000000
r7 : 00000002 r6 : bef16eb4 r5 : bef16f8f r4 : ffff198c
r3 : ffff198c r2 : 00000000 r1 : ffff198c r0 : ffff198c
Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
Control: 0005317f Table: 20474000 DAC: 00000015
[<c00282c4>] (show_regs+0x0/0x50) from [<c002cd64>]
(__do_user_fault+0x5c/0xa4)
r5:ffff198c r4:c1c5b9c0
[<c002cd08>] (__do_user_fault+0x0/0xa4) from [<c002d020>]
(do_page_fault+0x1f8/0x230)
r7:c182a214 r6:c1c5b9c0 r5:000000o_Dat0026d40>]
(ret_from_exception+0x0/0x10)
Exception sto 0xc12f5ff8)
5fa0: ffff198c ffff198c 00000000 ffff198c
5fc0: ffff198c bef16f8f bef16eb4 00000002 00000000 00000000 40025000
00000000
5fe0: 401446c0 bef16d50 00009ad0 401446c4 60000010 ffffffff
Segmentation fault
Kindly help me solving the issue...
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/options/uclinux-dev
pc : [<401446c4>] lr : [<00009ad0>] psr: 60000010
sp : bef16d50 ip : 401446c0 fp : 00000000
r10: 40025000 r9 : 00000000 r8 : 00000000
r7 : 00000002 r6 : bef16eb4 r5 : bef16f8f r4 : ffff198c
r3 : ffff198c r2 : 00000000 r1 : ffff198c r0 : ffff198c
Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
Control: 0005317f Table: 20474000 DAC: 00000015
[<c00282c4>] (show_regs+0x0/0x50) from [<c002cd64>]
(__do_user_fault+0x5c/0xa4)
r5:ffff198c r4:c1c5b9c0
[<c002cd08>] (__do_user_fault+0x0/0xa4) from [<c002d020>]
(do_page_fault+0x1f8/0x230)
r7:c182a214 r6:c1c5b9c0 r5:000000o_Dat0026d40>]
(ret_from_exception+0x0/0x10)
Exception sto 0xc12f5ff8)
5fa0: ffff198c ffff198c 00000000 ffff198c
5fc0: ffff198c bef16f8f bef16eb4 00000002 00000000 00000000 40025000
00000000
5fe0: 401446c0 bef16d50 00009ad0 401446c4 60000010 ffffffff
Segmentation fault
Kindly help me solving the issue...
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/options/uclinux-dev
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/options/uclinux-dev