Re: [linux-sunxi] Latest kernel does not find SD card

2017-11-24 Thread Chris Obbard
> 4.14.0-g5a787756b #1 > [ 19.543540] Hardware name: Xunlong Orange Pi PC 2 (DT) > [ 19.548669] task: 80003d9de200 task.stack: 08068000 > [ 19.554580] pstate: 2085 (nzCv daIf -PAN -UAO) > [ 19.559367] pc : irq_work_queue_on+0x110/0x128 > [ 19.563807] lr : rcu_implic

Re: [linux-sunxi] Latest kernel does not find SD card

2017-11-24 Thread Chris Obbard
24/11/17 11:58, Chris Obbard wrote: > > [2.982523] sun50i-h5-pinctrl 1c20800.pinctrl: pin PF6 already > > requested by 1c0f000.mmc; cannot claim for 1c20800.pinctrl:166 > > [2.993845] sun50i-h5-pinctrl 1c20800.pinctrl: pin-166 > > (1c20800.pinctrl:166) status

[linux-sunxi] OrangePi PC2 CPU Voltage Regulator

2017-11-26 Thread Chris Obbard
Hi guys, Looking into the COU core voltage regulator on the opipc2. By default, through resistors on the PCB, the regulator is set to 1.1V and should be set by u-boot to 1.2V before bringing up the cpu core PLL as the cpu is spec'd at 1.2V. The u-boot sources (i am using tag v2017.09) already

Re: [linux-sunxi] OrangePi PC2 CPU Voltage Regulator

2017-11-26 Thread Chris Obbard
Hi Ondřej, Interesting, looks like you are on the way to implementing a cpufreq driver? Are these patches submitted yet? Cheers! On 26 November 2017 at 16:15, Ondřej Jirman <meg...@megous.com> wrote: > Chris Obbard píše v Ne 26. 11. 2017 v 15:24 +: > > Hi guys, > >

Re: [linux-sunxi] Latest kernel does not find SD card

2017-11-24 Thread Chris Obbard
Hi, > > > Mmh, I guess it's related to: > > commit 1396007286b1e2fd5dd10ae6a5ccaaaed51ab762 > > Author: Maxime Ripard > > Date: Mon Oct 9 22:53:39 2017 +0200 > > > > pinctrl: sunxi: Enforce the strict mode by default > > > > This is probably due to the

Re: [linux-sunxi] Latest kernel does not find SD card

2017-11-23 Thread Chris Obbard
_fork+0x10/0x18 > [9.003493] SMP: stopping secondary CPUs > [9.007411] Kernel Offset: disabled > [9.010896] CPU features: 0x002004 > [9.014290] Memory Limit: none > [9.017346] ---[ end Kernel panic - not syncing: VFS: Unable to mount > root fs on unknown-block(0,0)

Re: [linux-sunxi] H5 I2S status

2017-12-16 Thread Chris Obbard
; >>> On 16/12/17 06:47, Code Kipper wrote: >>> >>>> On 15 December 2017 at 20:05, Chris Obbard <obba...@gmail.com> wrote: >>>> >>>>> Thanks Chen-Yu, that patch was literally what I was about to write >>>>> myself >>>>&

Re: [linux-sunxi] H5 I2S status

2017-12-15 Thread Chris Obbard
gt; [ 395.364594] sun4i-i2s 1c22000.i2s: Unsupported oversample rate: 2083 > [ 395.370978] sun4i-i2s 1c22000.i2s: ASoC: can't set 1c22000.i2s hw > params: -22 cheers! On 14 December 2017 at 07:34, Chen-Yu Tsai <w...@csie.org> wrote: > On Thu, Dec 14, 2017 at 3:22 PM, Chris O

Re: [linux-sunxi] H5 I2S status

2017-12-13 Thread Chris Obbard
I2S driver later this eve... Cheers! On 14 December 2017 at 06:46, Code Kipper <codekip...@gmail.com> wrote: > On 13 December 2017 at 21:51, Chris Obbard <obba...@gmail.com> wrote: > > Hi CK, > > > > That worked! Thanks. > > > > Here's the desg outpu

Re: [linux-sunxi] H5 I2S status

2017-12-13 Thread Chris Obbard
> "Mic Bias", "Microphone Jack"; > simple-audio-card,cpu { > sound-dai = <>; > }; > codec_master: simple-audio-card,codec { >

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz

2017-11-21 Thread Chris Obbard
At 1.1V & maximum cpufreq my Orange Pi PC2 boards kernel panic 90% of the time. This patch works perfectly for my board. Please apply patch to mainline. Hopefully the idea is to run the regulator at it's default speed (& set a low maximum CPU speed from u-boot) then once the kernel has taken

Re: [linux-sunxi] Latest kernel does not find SD card

2017-11-21 Thread Chris Obbard
> > It is most likely the switch of the mmc regulators from a fixed one > to the AXP regulators. > > Please ensure you have the AXP mfd and regulator drivers built-in. > AFAIK the RSB variant of the AXP mfd driver does not support auto > loading of the module. I should have been more specific, I

[linux-sunxi] Latest kernel does not find SD card

2017-11-20 Thread Chris Obbard
A change between Friday and Sunday evening to sunxi-next Kernel has caused my H5-based Orange Pi PC2 to not find the SD card. Is this a known problem? Sorry for the lack of information; I am not at that terminal. -- You received this message because you are subscribed to the Google Groups

Re: [linux-sunxi] Re: [PATCH v2 00/10] Allwinner H3/H5/A64(DE2) SimpleFB support

2017-11-09 Thread Chris Obbard
Hi Everyone, What's the status of HDMI/SimpleFB driver for H5? I don't see anything related to HDMI in linux-next dts files: arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts (example board) arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi arch/arm/boot/dts/sunxi-h3-h5.dtsi On 6 November

Re: [linux-sunxi] Re: [PATCH 1/1] add rgb888 pins to a20 to enable parallel rgb LCD

2017-11-09 Thread Chris Obbard
; Tel. 049/8931563 - Fax 049/8931346 > Cod.Fiscale - P.IVA 02663420285 > Capitale Sociale € 26.000 i.v. > Iscritta al Reg. Imprese di Padova N. 02663420285 > Numero R.E.A. 258642 > > Il 07/11/2017 14:14, Chris Obbard ha scritto: > >> I'd say no, do not merge if hardware is not pu

Re: [linux-sunxi] Re: [PATCH 1/1] add rgb888 pins to a20 to enable parallel rgb LCD

2017-11-09 Thread Chris Obbard
I'd say no, do not merge if hardware is not publicly available, make a separate DTS in your separate Tree that extends the board you are closest to with your custom changes. Cheers! On 7 November 2017 at 13:13, Giulio Benetti wrote: > It's a custom board of my

Re: [linux-sunxi] Re: [PATCH 1/1] add rgb888 pins to a20 to enable parallel rgb LCD

2017-11-09 Thread Chris Obbard
Cod.Fiscale - P.IVA 02663420285 > Capitale Sociale € 26.000 i.v. > Iscritta al Reg. Imprese di Padova N. 02663420285 > Numero R.E.A. 258642 > > Il 07/11/2017 14:23, Chris Obbard ha scritto: > >> Hi Giulio, >> >> If the board is available to buy, for general public

[linux-sunxi] H5 I2S status

2017-12-11 Thread Chris Obbard
Hey I am looking into the H5 i2s mainline support, can anyone update me on the status of this, point me to a wip branch or patch? Cheers! -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails

Re: [linux-sunxi] H5 I2S status

2017-12-11 Thread Chris Obbard
kip...@gmail.com> wrote: > Hi Chris. > H5 support went in with the H3 so it should work. You will need to > make dts changes or overlays for the devices that you're using. > CK > > On 11 December 2017 at 12:41, Chris Obbard <obba...@gmail.com> wrote: > > Hey > >

[linux-sunxi] Re: [PATCH 2/2] pinctrl: sunxi: Disable strict mode for H5 driver

2017-12-12 Thread Chris Obbard
river fail to load. > >>> To keep existing DTs working, disable strict mode in the H5 driver. > >>> > >>> Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > >>> Reported-by: Chris Obbard <obba...@gmail.com> > >> > >&g

Re: [linux-sunxi] Re: [PATCH v2 6/6] ASoC: sun4i-i2s: Add support for loopback

2018-03-13 Thread Chris Obbard
Hi Mark, > >> +- loopback: if this property is present then the dai is configured in >> + loopback mode where the output fifo is redirected to the input >> + fifo. > > This really doesn't seem like something that ought to go into the DT > and hence ABI given that there's

Re: [linux-sunxi] "BUG: Bad page state in process ..." on Olimex A64-OLinuXino

2018-03-13 Thread Chris Obbard
Hi Martin, You can do a 2nd stage cross-debootstrap on your host machine. Also, you can build DTS as part of Linux make. Where are your Kernel modules? We (64 Studio) are making a scripted auto-debian image maker, watch this space :-). If you are interested in helping or have some input please