Home › Forums › Software discussion › Linux Kernel › Issues with mainline (4.12-rc7)
Tagged: canadian cialis SexheenCe
Hello,
I’ve experienced the following issues using a mainline kernel as 4.12-rc7:
* the sdcard slot is not recognized (boot over usb is fine though)
* the mini pcie interface does not work: I’ve used an intel 7260 wifi card and
it leads to a kernel panic because the pci read config times out. I’ve
tried to backport some code from the marvell kernel which adds
CONFIG_IGNORE_ASYNC_ABORT but it does not help (it fixes the kernel panic
but the wifi card is never properly initialized). The card works fine with
the marvell kernel and the Arch Linux kernel (based on the marvell one).
* the perf counters (pmus) support is not there either.
Is there a better place to report those issues ?
Please let me know if you need more information.
Here is the stack trace when the intel 7260 mini pcie card is plugged: http://sprunge.us/NOTM
Hi,
Can you share the kernel? Are you sure you didn’t disable the SD card slot via dtb or something like that?
What happens if you use the kernel from the Archlinux tar supplied on the Espressobin site?
I’m seeing the same issues, but also keeping an eye on the linux-arm kernel mailing list (https://patchwork.kernel.org/project/linux-arm-kernel/list/).
There isn’t much visible effort in terms of development targeting espressobin, though there have been some patches toward the A-3720 development kit (related to espressobin, afaict).
Is there a contact from GlobalScale reading the forum?
Here is the tarball which contains the configuration mentionned above: http://0x5c.me/linux-4.12.0.tgz
It contains the kernel image, the modules, the kernel configuration and the dtb. It is based on a bare 4.12.0 kernel without additional patches. The configuration is obtained via:
* make defconfig
* make menuconfig to enable the iwlwifi driver, dsa and the specific dsa driver needed by the board
I boot the kernel with the following uboot configuration:
fdt_addr=0x1000000
fdt_high=0xffffffffffffffff
kernel_addr=0x2000000
booti $kernel_addr – $fdt_addr
And here is the trace I get when I boot the board with the intel 7260 mini pcie wifi card: http://sprunge.us/haED
I also noticed that this patchset has been sent to the linux-arm mailing list a few days ago:
[5/5] ARM64: dts: marvell: armada37xx: Enable USB2 on espressobin
[4/5] ARM64: dts: marvell: armada37xx: Wire PMUv3
[3/5] ARM64: dts: marvell: armada37xx: Enable memory-mapped GIC CPU interface
[2/5] ARM64: dts: marvell: armada37xx: Fix GIC maintenance interrupt
[1/5] ARM64: dts: marvell: armada37xx: Fix timer interrupt specifiers
Is there an ongoing fix for the mini pcie (pcie-aardvark) interface ?
Arch Linux now packages a kernel based on the 4.12.0 with the patches I mentionned above applied.
The sdcard slot and perf counters now work, however, I still have issues with the mini pcie slot when the intel 7260 wifi card is plugged.
Ping.
Applying the following pci aardvark patches from the marvell tree [1] get rid of the kernel panics (however i cannot get the intel 7260 card to init properly [2]):
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/d3f1b58f7759f376cff71b0f87bd838035dee995
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/ca899e6ee055a938ffab20d820dbfbea531e5ee7
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/7ce8f8c52db804157a7bc6689cd0b7db154b3204
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/e2c75634d9e930b66bdb29b7a42f56f357e329f5
[1] https://github.com/MarvellEmbeddedProcessors/linux-marvell/commits/linux-4.4.52-armada-17.06
[2] Intel 7260 init :
[ 86.228519] iwlwifi 0000:00:00.0: loaded firmware version 17.459231.0 op_mode iwlmvm
[ 86.262999] iwlwifi 0000:00:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[ 86.273314] iwlwifi 0000:00:00.0: L1 Disabled – LTR Disabled
[ 86.279212] iwlwifi 0000:00:00.0: L1 Disabled – LTR Disabled
[ 86.503486] ieee80211 phy1: Selected rate control algorithm ‘iwl-mvm-rs’
[ 86.525769] iwlwifi 0000:00:00.0 wlp0s0: renamed from wlan0
[root@alarm ~]# iwlist wlp0s0 s
wlp0s0 Interface doesn’t support scanning.
Finally got the intel 7260 card to initialize and work properly by enabling cfg80211 extensions compatibility in the kernel.
Who should I contact in order to get those patches submitted to the linux-arm mailing ?
I’d appreciate if you could open a PR against this kernel tree (or point me to your commits/patches). I’m collecting all stuff concerning my several boards there.
Done.
Merci beaucoup
It looks like mainline dtb lack some definition regarding cpu idle states, thermal sensors and cpu freq scaling is not supported. However, the marvell tree does seem to have some patches for it, are they going to be mainlined at some point ?
Here are a bunch of patches (non-exhaustive list) from the marvell tree (note that they do not apply cleanly on top of the 4.12 release nor master):
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/9bc883aaa5a90a46aed85108e2adb79380afbe47
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/965d69eae60668d0f5b3bfdcaeab81fcd94e152c
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/5ba17ee9e2b4800d38347382952a16b423c850dc
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/e92b2870f8a463cf3275de167d5bddaf8583d86b
* https://github.com/MarvellEmbeddedProcessors/linux-marvell/commit/a5d239bafcd00c0a076a74c59dedcde6ad6345a1
… and they refer to a different SoC (ap806 <> 88F3720)
My bad. Sorry for the noise.
Technical specification tables can not be displayed on mobile. Please view on desktop