Skip to contentSkip to conversation

Driver hangs on Armada 385 device

crypto radioconfusion at gmail.com 2 participants 2 messages Aug 24, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

Quoted 5 lines · Roman Perier

Could you test with uImage.armada-385-db-ap [1], that's a legacy Image. Also, I have uploaded a minimalistic rootfs [2], if you want.

1. http://www.free-electrons.com/~romain/pub/cesa/uImage.armada-385-db-ap
2. http://www.free-electrons.com/~romain/pub/cesa/rootfs.cpio.xz

Huge thanks to Roman, Thomas and Russell.
The cesa works on your image and rootfs. Now it works on my system too.

The problem caused by my mistake, I was using the following kernel parameter:
mem=1048448k
My device has 1 GiB of RAM and I tried to reserve 128 kiB of memory for ram oops. I guess this parameter caused overlapping or inaccessible area with cesa's addresses. Am I right?
I tried to add memmap=0x20000$0x3ffe0000 without success.

Is this normal behaviour?
If yes, what is the right way to reserve RAM without killing the cesa? Should I reserve memory at physical start point?

Best Regards,
Jussi

#1 lore raw
Quoted 2 lines · radioconfusion at gmail.com

The problem caused by my mistake, I was using the following kernel parameter:
mem=1048448k

Try mem=1046M - reducing it by 2MB. If that works, try mem=1047M instead. Yes, that's more than you want to reserve, but please check how the system behaves with these.

Quoted 4 lines

My device has 1 GiB of RAM and I tried to reserve 128 kiB of memory for ram oops. I guess this parameter caused overlapping or inaccessible area with cesa's addresses. Am I right?
I tried to add memmap=0x20000$0x3ffe0000 without success.

memmap= has no meaning on ARM. It's an x86 thing, the ARM arch has never implemented it. I've seen this come up a few times, and I don't know why people keep trying to use it (always with an "it doesn't seem to work" result.) It's even documented as being an ACPI / x86 thing in Documentation/kernel-parameters.txt...

Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.