From: khc@pm.waw.pl (Krzysztof Halasa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] IXP4xx: Add Gateworks Cambria support.
Date: Thu, 19 Sep 2013 20:27:18 +0200 [thread overview]
Message-ID: <m3a9j8wttl.fsf@intrepid.localdomain> (raw)
In-Reply-To: <20130919160309-31798@mutt-kz> (Luka Perkov's message of "Thu, 19 Sep 2013 18:03:09 +0200")
Hi Luka,
Luka Perkov <luka@openwrt.org> writes:
> I was unable to bring up serial console with your patch. I was using
> latest OpenWrt trunk for rootfs, did you use the same?
No, I use a different, custom initramfs.
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> IP-Config: Failed to open eth0
> IP-Config: Failed to open eth1
> IP-Config: No network devices available
> Warning: unable to open an initial console.
Perhaps it wants the network console instead?
Are you using "console=ttyS0,115200" or something alike?
Or a /dev filesystem problems maybe?
> I'm no expert on licenses but shouldn't here at least be GPLv2 since the
> file originated from OpenWrt support for this board which is GPLv2.
Of course the license is GPLv2, every Linux kernel file (except maybe
some firmware and non-copyrightable code) is so licensed. See the file
"COPYING"
>> +static struct i2c_board_info __initdata cambria_i2c_board_info[] = {
>> + {
>> + I2C_BOARD_INFO("ad7418", 0x28),
>> + },
>> + {
>> + I2C_BOARD_INFO("24c08", 0x50),
>> + .platform_data = &cambria_eeprom_info,
>> + },
>> +};
>
> I couldn't test this because of the console issue but in OpenWrt sources
> the value is 0x51 and not 0x50. Did you change it by accident?
Not really, the board simply has 24C08 at 0x50. OpenWRT does a trick with
offsets here, you can't really have a 24C08 at 0x51 (possible addresses
for most chips are 0x50 and 0x54). I just did it the straight way and it
works fine.
> Also, shouldn't arch/arm/configs/ixp4xx_defconfig be updated too?
Well, probably.
--
Krzysztof Halasa
next prev parent reply other threads:[~2013-09-19 18:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-18 7:13 [PATCH] IXP4xx: Add Gateworks Cambria support Krzysztof Hałasa
2013-09-19 16:03 ` Luka Perkov
2013-09-19 18:27 ` Krzysztof Halasa [this message]
2013-09-19 20:52 ` Imre Kaloz
2013-09-20 8:40 ` Krzysztof Hałasa
2013-09-20 9:13 ` Imre Kaloz
2013-09-25 7:24 ` Krzysztof Hałasa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3a9j8wttl.fsf@intrepid.localdomain \
--to=khc@pm.waw.pl \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox