Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #55007 > unrolled thread

Bug#821027: Additional modules for HiKey support

Started byMartin Michlmayr <tbm@cyrius.com>
First post2016-09-03 05:40 +0200
Last post2016-09-10 06:20 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#821027: Additional modules for HiKey support Martin Michlmayr <tbm@cyrius.com> - 2016-09-03 05:40 +0200
    Bug#821027: Additional modules for HiKey support Vagrant Cascadian <vagrant@debian.org> - 2016-09-10 00:50 +0200
      Bug#821027: Additional modules for HiKey support Ben Hutchings <ben@decadent.org.uk> - 2016-09-10 02:30 +0200
        Bug#821027: Additional modules for HiKey support Vagrant Cascadian <vagrant@debian.org> - 2016-09-10 06:20 +0200

#55007 — Bug#821027: Additional modules for HiKey support

FromMartin Michlmayr <tbm@cyrius.com>
Date2016-09-03 05:40 +0200
SubjectBug#821027: Additional modules for HiKey support
Message-ID<sd9Yd-8mG-1@gated-at.bofh.it>
* Vagrant Cascadian <vagrant@debian.org> [2016-06-04 18:20]:
> +CONFIG_WLAN_VENDOR_TI=y
> +CONFIG_WL18XX=m
> +CONFIG_COMMON_RESET_HI6220=m
> +CONFIG_PHY_HI6220_USB=m
> +CONFIG_MAILBOX=y
> +CONFIG_HI6220_MBOX=y
> +CONFIG_REGULATOR_HI655X=m
> +CONFIG_MFD_HI655X_PMIC=m
> +CONFIG_ARM_TIMER_SP804=y
> +CONFIG_STUB_CLK_HI6220=y

I enabled these (and some more) options in git, so please try out the
next upload to experimental.

-- 
Martin Michlmayr
http://www.cyrius.com/

[toc] | [next] | [standalone]


#55065

FromVagrant Cascadian <vagrant@debian.org>
Date2016-09-10 00:50 +0200
Message-ID<sfCMq-qy-11@gated-at.bofh.it>
In reply to#55007

[Multipart message — attachments visible in raw view] — view raw

On 2016-09-02, Martin Michlmayr wrote:
> * Vagrant Cascadian <vagrant@debian.org> [2016-06-04 18:20]:
...
> I enabled these (and some more) options in git, so please try out the
> next upload to experimental.

Thanks!

Unfortunately, I'm unable to get a serial console with both 4.7 and 4.8
(4.6 from jessie-backports gets a serial console, but not much
else). After adding "earlycon" to the boot arguments, I get the log
below:

  Booting a command list

Loading Linux 4.8.0-rc5-arm64 ...
Loading initial ramdisk ...
Loading device tree ...
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.0-rc5-arm64 (debian-kernel@lists.debian.org) (gcc version 5.4.1 20160904 (Debian 5.4.1-2) ) #1 SMP Debian 4.8~rc5-1~exp1 (2016-09-07)
[    0.000000] Boot CPU: AArch64 Processor [410fd033]
[    0.000000] earlycon: pl11 at MMIO 0x00000000f7113000 (options '115200n8')
[    0.000000] bootconsole [pl11] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.40 by Linaro HiKey EFI Nov 28 2015 10:50:07
[    0.000000] efi:
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 22 pages/cpu @ffffffc07fe78000 s49176 r8192 d32744 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 507406
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.8.0-rc5-arm64 root=UUID=ff313567-e9f1-5a5d-9895-3ba130b4a864 ro console=ttyAMA3,115200 earlycon
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1976540K/2062392K available (6204K kernel code, 1034K rwdata, 1948K rodata, 3136K init, 613K bss, 85852K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008690000   (  6208 KB)
[    0.000000]     .rodata : 0xffffff8008690000 - 0xffffff8008880000   (  1984 KB)
[    0.000000]       .init : 0xffffff8008880000 - 0xffffff8008b90000   (  3136 KB)
[    0.000000]       .data : 0xffffff8008b90000 - 0xffffff8008c92800   (  1034 KB)
[    0.000000]        .bss : 0xffffff8008c92800 - 0xffffff8008d2be3c   (   614 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf02000000   (    32 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc080000000   (  2048 MB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 1.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x11b661f8e, max_idle_ns: 1763180809113 ns
[    0.000004] sched_clock: 56 bits at 1200kHz, resolution 833ns, wraps every 4398046510838ns
[    0.008440] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns
[    0.018019] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 111848106981ns
[    0.026546] Console: colour dummy device 80x25
[    0.031054] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.40 BogoMIPS (lpj=4800)
[    0.041256] pid_max: default: 32768 minimum: 301
[    0.046053] Security Framework initialized
[    0.050196] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.056897] AppArmor: AppArmor disabled by boot time parameter
[    0.062834] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.069609] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.077420] ftrace: allocating 22279 entries in 88 pages
[    0.117166] ASID allocator initialised with 65536 entries
[    0.124507] Remapping and enabling EFI services.
[    0.129229]   EFI remap 0x000000007ff6e000 => 000000002000e000
[    0.135129]   EFI remap 0x000000007ffaf000 => 000000002004f000
[    0.141024]   EFI remap 0x00000000f8003000 => 00000000200a3000
[    0.147816] Detected VIPT I-cache on CPU1
[    0.147874] CPU1: Booted secondary processor [410fd033]
[    0.148430] Detected VIPT I-cache on CPU2
[    0.148457] CPU2: Booted secondary processor [410fd033]
[    0.148994] Detected VIPT I-cache on CPU3
[    0.149019] CPU3: Booted secondary processor [410fd033]
[    0.149624] Detected VIPT I-cache on CPU4
[    0.149672] CPU4: Booted secondary processor [410fd033]
[    0.150249] Detected VIPT I-cache on CPU5
[    0.150272] CPU5: Booted secondary processor [410fd033]
[    0.150816] Detected VIPT I-cache on CPU6
[    0.150838] CPU6: Booted secondary processor [410fd033]
[    0.151429] Detected VIPT I-cache on CPU7
[    0.151451] CPU7: Booted secondary processor [410fd033]
[    0.151528] Brought up 8 CPUs
[    0.219779] SMP: Total of 8 processors activated.
[    0.224533] CPU features: detected feature: 32-bit EL0 Support
[    0.230431] CPU: All CPU(s) started at EL2
[    0.234611] alternatives: patching kernel code
[    0.255514] devtmpfs: initialized
[    0.279372] DMI not present or invalid.
[    0.283473] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.309367] pinctrl core: initialized pinctrl subsystem
[    0.330873] NET: Registered protocol family 16
[    0.335964] vdso: 2 pages (1 code @ ffffff8008696000, 1 data @ ffffff8008b95000)
[    0.343450] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.366423] DMA: preallocated 256 KiB pool for atomic allocations
[    0.372665] Serial: AMBA PL011 UART driver
[    0.377979] f8015000.uart: ttyAMA0 at MMIO 0xf8015000 (irq = 7, base_baud = 0) is a PL011 rev2
[    0.386957] OF: amba_device_add() failed (-19) for /soc/uart@f7111000
[    0.393618] uart-pl011 f7112000.uart: could not find pctldev for node /soc/pinmux@f7010000/uart2_pmx_func, deferring probe


live well,
  vagrant

[toc] | [prev] | [next] | [standalone]


#55068

FromBen Hutchings <ben@decadent.org.uk>
Date2016-09-10 02:30 +0200
Message-ID<sfElc-1uj-1@gated-at.bofh.it>
In reply to#55065

[Multipart message — attachments visible in raw view] — view raw

On Fri, 2016-09-09 at 15:42 -0700, Vagrant Cascadian wrote:
> On 2016-09-02, Martin Michlmayr wrote:
> > 
> > > > * Vagrant Cascadian <vagrant@debian.org> [2016-06-04 18:20]:
> ...
> > 
> > I enabled these (and some more) options in git, so please try out the
> > next upload to experimental.
> 
> Thanks!
> 
> Unfortunately, I'm unable to get a serial console with both 4.7 and 4.8
> (4.6 from jessie-backports gets a serial console, but not much
> else). After adding "earlycon" to the boot arguments, I get the log
> below:
[...]
> [    0.393618] uart-pl011 f7112000.uart: could not find pctldev for node /soc/pinmux@f7010000/uart2_pmx_func, deferring probe

So we're missing the pinctrl driver, pinctrl-single.

This commit in 4.7 added explicit pinmuxing for the UARTs:

commit c2aad93200fa2dbbc6c48632e619494080d64796
Author: Guodong Xu <guod
ong.xu@linaro.org>
Date:   Wed Apr 13 07:55:48 2016 +0800

    arm64: dts: hi6220: add pinctrl for uarts and enable them

Since the boot loader will always set up pinmuxing for the console UART
you could get away without pinctrl-single before this.

Anyway I've now enabled CONFIG_PINCTRL_SINGLE for arm64.

Ben.

-- 
Ben Hutchings
Design a system any fool can use, and only a fool will want to use it.

[toc] | [prev] | [next] | [standalone]


#55071

FromVagrant Cascadian <vagrant@debian.org>
Date2016-09-10 06:20 +0200
Message-ID<sfHVL-3Om-5@gated-at.bofh.it>
In reply to#55068

[Multipart message — attachments visible in raw view] — view raw

On 2016-09-09, Ben Hutchings wrote:
> On Fri, 2016-09-09 at 15:42 -0700, Vagrant Cascadian wrote:
>> Unfortunately, I'm unable to get a serial console with both 4.7 and 4.8
>> (4.6 from jessie-backports gets a serial console, but not much
>> else). After adding "earlycon" to the boot arguments, I get the log
>> below:
> [...]
>> [    0.393618] uart-pl011 f7112000.uart: could not find pctldev for node /soc/pinmux@f7010000/uart2_pmx_func, deferring probe
>
> So we're missing the pinctrl driver, pinctrl-single.
...
> Since the boot loader will always set up pinmuxing for the console UART
> you could get away without pinctrl-single before this.
>
> Anyway I've now enabled CONFIG_PINCTRL_SINGLE for arm64.

Thanks!

I can confirm that enabling CONFIG_PINCTRL_SINGLE fixed serial console
with v4.8-rc5.


The sad news is all the other drivers still don't seem to work. At
least, no working eMMC/SD or USB... hrm.


live well,
  vagrant

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web