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c2ExMTBfc2V0dXA6ICBtb3YgICAgIHIwLCAjRl9CSVQgfCBJX0JJVCB8IFNWQ19NT0RFDQogICAgICAgICAgICAgICAgbXNyICAgICBjcHNyX2MsIHIwDQogICAgICAgICAgICAgICAgbW92ICAgICByMCwgIzANCj09PT0+ICAgICAgIG1jciAgICAgcDE1LCAwLCByMCwgYzcsIGM3ICAgICAgICAgICAgICBAIGZsdXNoIEksRCBjYWNoZXMgb24gdjQNCiAgICAgICAgICAgICAgICBtY3IgICAgIHAxNSwgMCwgcjAsIGM3LCBjMTAsIDQgICAgICAgICAgQCBkcmFpbiB3cml0ZSBidWZmZXIgb24gdjQNCj09PT0+ICAgICAgIG1jciAgICAgcDE1LCAwLCByMCwgYzgsIGM3ICAgICAgICAgICAgICBAIGZsdXNoIEksRCBUTEJzIG9uIHY0DQogICAgICAgICAgICAgICAgbWNyICAgICBwMTUsIDAsIHI0LCBjMiwgYzAgICAgICAgICAgICAgIEAgbG9hZCBwYWdlIHRhYmxlIHBvaW50ZXINCiAgICAgICAgICAgICAgICBtb3YgICAgIHIwLCAjMHgxZiAgICAgICAgICAgICAgICAgICAgICAgQCBEb21haW5zIDAsIDEgPSBjbGllbnQNCiAgICAgICAgICAgICAgICBtY3IgICAgIHAxNSwgMCwgcjAsIGMzLCBjMCAgICAgICAgICAgICAgQCBsb2FkIGRvbWFpbiBhY2Nlc3MgcmVnaXN0ZXINCiAgICAgICAgICAgICAgICBtcmMgICAgIHAxNSwgMCwgcjAsIGMxLCBjMCAgICAgICAgICAgICAgQCBnZXQgY29udHJvbCByZWdpc3RlciB2NA0KDQpXZSBjb3VsZCBub3QgZXhwbGFpbiB0aGUgc2l0dWF0aW9uIHNpbmNlIHRoZSBjb2RlcyBkbyBub3Qgc2VlbQ0KdG8gY2F1c2UgcHJvYmxlbXMuDQpJcyB0aGVyZSBhbnkgb25lIHdobyBjYW4gZXhwbGFpbiB0aGUgc2l0dWF0aW9uPw0KDQpUaGFua3MgaW4gYWR2YW5jZS4NCg0KU3VuZ3NvbyBMaW0uDQoNCg==unsubscribe: body of `unsubscribe linux-arm-kernel' to [email-masked]

---

From: Russell King - ARM Linux Admin <[email-masked]>
Date: Thu, 13 Jul 2000 22:27:39 +0100 (BST)

Sung-Soo Lim writes:
> We're using ARM Linux kernels with Nico patched (2.4.0-test1) on 
> several StrongARM 1100/1110 boards.
> We encountered some problems during porting the kernel on 
> the boards. It would be much appreciated if anyone can locate
> the problems.

It sounds like you're booting a normal "Image" or "vmlinux" file directly
without going via the decompressor with the caches/mmu turned on.  This
is a big no no.

Either use zImage (which basically doesn't care about the cache state
so long as it is consistent) OR make sure that the boot loader turns
caching/mmu off before calling the kernel.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [email-masked]      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm-kernel' to [email-masked]