[LEDE-DEV] [PATCH] ipq806x: Add nand boot support for ipq40xx AP-DK04.1-C1

Chris Blake chrisrblake93 at gmail.com
Sat May 13 14:08:04 PDT 2017


On Sat, May 13, 2017 at 10:36 AM, Christian Lamparter
<chunkeey at googlemail.com> wrote:
> Hello Ram,
>
> On Thursday, May 11, 2017 8:39:46 PM CEST Christian Lamparter wrote:
>> On Thursday, May 11, 2017 10:15:58 PM CEST Ram Chandra Jangir wrote:
>> > I added nand pinmux in https://patchwork.ozlabs.org/patch/761243/ ,
>> > Could you please try with this, if it helps you.
>> Thanks, I'll forward it to Chris Blake. He can test it once
>> he returns. I'll let you know how it turned out.
>
> Chris reported:
> [    1.000040] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
> [    1.007580] nand: AMD/Spansion S34ML01G2
> [    1.014146] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
> [    1.018135] 11 ofpart partitions found on MTD device qcom_nand.0
> [    1.025449] Creating 11 MTD partitions on "qcom_nand.0":
>
> so, it's working now.
>
> Regards,
> Christian
>
>

Hello Ram,

First off, thank you very much for this patch and your work on the
ipq40xx platform. I have been doing more testing, and it seems that
some of the pins in pinctl are not defined to the correct function.
This is what I am currently seeing on the board:

[    1.278649] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio57"
for function "qpic_pad"
[    1.279841] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio58"
for function "qpic_pad"
[    1.288214] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio59"
for function "qpic_pad"
[    1.296508] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio60"
for function "qpic_pad"
[    1.304905] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio64"
for function "qpic_pad"
[    1.313190] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio65"
for function "qpic_pad"
[    1.321522] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio66"
for function "qpic_pad"
[    1.329856] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio67"
for function "qpic_pad"
[    1.338190] ipq4019-pinctrl 1000000.pinctrl: invalid group "gpio68"
for function "qpic_pad"

With that said, NAND still inits and works. I was also able to clear
up the errors by fixing the groups for each GPIO in my DTS with the
help of Christian. Example of this is at
https://pastebin.com/rQDY3z9c.

Is this something specific with my board, or some other variation with
your patch? I am new to this arch so please excuse me if any of this
is noobish. :)

Regards,
Chris Blake



More information about the Lede-dev mailing list