Re: fedora 25 raspberry pi bug
by Peter Robinson
Please don't email directly, please email the list so people can
assist and others can also see answers.
On Wed, Dec 21, 2016 at 7:45 PM, <jdeifik(a)jdeifik.com> wrote:
> I installed fedora 25 from the workstation mate image.
>
> The arm specific architecture repositories are not included when I run dnf.
I don't know what you mean by "arm specific architecture repositories"
we have just the standard fedora/updates/testing repositories. Do you
mean you're not
> I submitted a bug report about a month ago, and I have not gotten any reply
> on it.
> Any idea why?
A link to the bug report is probably useful
7 years, 4 months
Booting F25 on a Cubieboard2 from sata
by Robert Moskowitz
I have been gone, doing other stuff for a year. Back now trying to do a
number of things. One is using the current uboot alone on the mSD and
everything else on sata.
Back a year+ ago, I would dd the image to a sata HD and just the uboot
to a 4Gb mSD card. I had even provided a modification to the installer
script here for this purpose.
It worked well. But now...
With only the uboot on the mSD by:
dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 ; sync
I get:
U-Boot SPL 2016.09.01 (Oct 19 2016 - 13:46:44)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
U-Boot 2016.09.01 (Oct 19 2016 - 13:46:44 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Model: Cubietech Cubieboard2
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
In: serial
Out: serial
Err: serial
SCSI: Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net: eth0: ethernet@01c50000
Hit any key to stop autoboot: 0
** Invalid partition 1 **
** Invalid partition 1 **
** Invalid partition 1 **
=>
Has there been some change to the Cubieboard uboot?
Thank you
7 years, 4 months
[PATCH] Enable QDF2400 Onboard Networking
by Christopher Covington
The QDF2400 family of SoCs from Qualcomm Datacenter Technologies has an
on-board gigabit Ethernet port. The qcom-emac driver for this hardware has
been accepted into Linus Torvalds upstream repository as of 2016-12-17, so
enable the appropriate configuration for Fedora. The QCA7000 configuration
option, revealed by enabling CONFIG_NET_VENDOR_QUALCOMM, is left unset for
now, due to lack of hardware on hand for testing.
Signed-off-by: Christopher Covington <cov(a)codeaurora.org>
---
baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM | 1 +
baseconfig/arm/arm64/CONFIG_QCA7000 | 1 +
baseconfig/arm/arm64/CONFIG_QCOM_EMAC | 1 +
kernel-aarch64-debug.config | 4 +++-
kernel-aarch64.config | 4 +++-
5 files changed, 9 insertions(+), 2 deletions(-)
create mode 100644 baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
create mode 100644 baseconfig/arm/arm64/CONFIG_QCA7000
create mode 100644 baseconfig/arm/arm64/CONFIG_QCOM_EMAC
diff --git a/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM b/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
new file mode 100644
index 0000000..46be71a
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
@@ -0,0 +1 @@
+CONFIG_NET_VENDOR_QUALCOMM=y
diff --git a/baseconfig/arm/arm64/CONFIG_QCA7000 b/baseconfig/arm/arm64/CONFIG_QCA7000
new file mode 100644
index 0000000..1a7ec7f
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_QCA7000
@@ -0,0 +1 @@
+# CONFIG_QCA7000 is not set
diff --git a/baseconfig/arm/arm64/CONFIG_QCOM_EMAC b/baseconfig/arm/arm64/CONFIG_QCOM_EMAC
new file mode 100644
index 0000000..4e3fa01
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_QCOM_EMAC
@@ -0,0 +1 @@
+CONFIG_QCOM_EMAC=m
diff --git a/kernel-aarch64-debug.config b/kernel-aarch64-debug.config
index 455c71c..4fa0835 100644
--- a/kernel-aarch64-debug.config
+++ b/kernel-aarch64-debug.config
@@ -3395,7 +3395,7 @@ CONFIG_NET_VENDOR_NETRONOME=y
CONFIG_NET_VENDOR_NVIDIA=y
CONFIG_NET_VENDOR_OKI=y
# CONFIG_NET_VENDOR_QLOGIC is not set
-# CONFIG_NET_VENDOR_QUALCOMM is not set
+CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_NET_VENDOR_RDC=y
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_NET_VENDOR_RENESAS is not set
@@ -3980,12 +3980,14 @@ CONFIG_PWM_TEGRA=m
CONFIG_PWM=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SIMPLE is not set
+# CONFIG_QCA7000 is not set
CONFIG_QCOM_ADSP_PIL=m
CONFIG_QCOM_BAM_DMA=y
# CONFIG_QCOM_CLK_RPM is not set
# CONFIG_QCOM_CLK_SMD_RPM is not set
CONFIG_QCOM_COINCELL=m
# CONFIG_QCOM_EBI2 is not set
+CONFIG_QCOM_EMAC=m
CONFIG_QCOM_GSBI=y
# CONFIG_QCOM_HIDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
diff --git a/kernel-aarch64.config b/kernel-aarch64.config
index 608d26f..13cf069 100644
--- a/kernel-aarch64.config
+++ b/kernel-aarch64.config
@@ -3374,7 +3374,7 @@ CONFIG_NET_VENDOR_NETRONOME=y
CONFIG_NET_VENDOR_NVIDIA=y
CONFIG_NET_VENDOR_OKI=y
# CONFIG_NET_VENDOR_QLOGIC is not set
-# CONFIG_NET_VENDOR_QUALCOMM is not set
+CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_NET_VENDOR_RDC=y
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_NET_VENDOR_RENESAS is not set
@@ -3958,12 +3958,14 @@ CONFIG_PWM_TEGRA=m
CONFIG_PWM=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SIMPLE is not set
+# CONFIG_QCA7000 is not set
CONFIG_QCOM_ADSP_PIL=m
CONFIG_QCOM_BAM_DMA=y
# CONFIG_QCOM_CLK_RPM is not set
# CONFIG_QCOM_CLK_SMD_RPM is not set
CONFIG_QCOM_COINCELL=m
# CONFIG_QCOM_EBI2 is not set
+CONFIG_QCOM_EMAC=m
CONFIG_QCOM_GSBI=y
# CONFIG_QCOM_HIDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
7 years, 4 months
Re: [PATCH] Enable QDF2400 Onboard Networking
by Christopher Covington
On 2016-12-19 14:24, Timur Tabi wrote:
> On 12/19/2016 01:04 PM, Christopher Covington wrote:
>> The QDF2400 family of SoCs from Qualcomm Datacenter Technologies has
>> an
>> on-board gigabit Ethernet port. The qcom-emac driver for this hardware
>> has
>> been accepted into Linus Torvalds upstream repository as of
>> 2016-12-17, so
>> enable the appropriate configuration for Fedora. The QCA7000
>> configuration
>> option, revealed by enabling CONFIG_NET_VENDOR_QUALCOMM, is left unset
>> for
>> now, due to lack of hardware on hand for testing.
>
> Do you want to enable the specific PHY driver that's on the QDF2400
> SDP boards as well? The genphy driver seems to work pretty well, so I
> don't think it's necessary.
>
> CONFIG_AT803X_PHY
Looks like it's already built as a module:
http://pkgs.fedoraproject.org/cgit/rpms/kernel.git/tree/kernel-aarch64.co...
Thanks,
Cov
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code
Aurora Forum, a Linux Foundation Collaborative Project.
7 years, 4 months
[PATCH] Re-add ACPI SPCR (serial console) support
by Christopher Covington
Four SPCR patches were merged upstream into 4.9, but one was reverted by a
subsequent commit (due to a trivial merge conflict with a later, unrelated
patch). A fixed up version of the missing patch is queued up for 4.10 in
tty-next. Carry it to make sure users see serial console output on ACPI
systems. Otherwise manually setting console=ttyAMAn would be required.
---
arm64-ACPI-parse-SPCR-table.patch | 101 ++++++++++++++++++++++++++++++++++++++
kernel.spec | 6 +++
2 files changed, 107 insertions(+)
create mode 100644 arm64-ACPI-parse-SPCR-table.patch
[Sending as new message, this time including the fedora-kernel list.]
diff --git a/arm64-ACPI-parse-SPCR-table.patch b/arm64-ACPI-parse-SPCR-table.patch
new file mode 100644
index 0000000..ad85b02
--- /dev/null
+++ b/arm64-ACPI-parse-SPCR-table.patch
@@ -0,0 +1,101 @@
+From 10879ae5f12e9cab3c4e8e9504c1aaa8a033bde7 Mon Sep 17 00:00:00 2001
+From: Aleksey Makarov <aleksey.makarov(a)linaro.org>
+Date: Tue, 4 Oct 2016 10:15:32 +0300
+Subject: serial: pl011: add console matching function
+
+This patch adds function pl011_console_match() that implements
+method match of struct console. It allows to match consoles against
+data specified in a string, for example taken from command line or
+compiled by ACPI SPCR table handler.
+
+This patch was merged to tty-next but then reverted because of
+conflict with
+
+commit 46e36683f433 ("serial: earlycon: Extend earlycon command line option to support 64-bit addresses")
+
+Now it is fixed.
+
+Signed-off-by: Aleksey Makarov <aleksey.makarov(a)linaro.org>
+Reviewed-by: Peter Hurley <peter(a)hurleysoftware.com>
+Acked-by: Russell King <rmk+kernel(a)armlinux.org.uk>
+Tested-by: Christopher Covington <cov(a)codeaurora.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
+---
+ drivers/tty/serial/amba-pl011.c | 55 +++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 55 insertions(+)
+
+diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
+index e2c33b9..c00ab22 100644
+--- a/drivers/tty/serial/amba-pl011.c
++++ b/drivers/tty/serial/amba-pl011.c
+@@ -2315,12 +2315,67 @@ static int __init pl011_console_setup(struct console *co, char *options)
+ return uart_set_options(&uap->port, co, baud, parity, bits, flow);
+ }
+
++/**
++ * pl011_console_match - non-standard console matching
++ * @co: registering console
++ * @name: name from console command line
++ * @idx: index from console command line
++ * @options: ptr to option string from console command line
++ *
++ * Only attempts to match console command lines of the form:
++ * console=pl011,mmio|mmio32,<addr>[,<options>]
++ * console=pl011,0x<addr>[,<options>]
++ * This form is used to register an initial earlycon boot console and
++ * replace it with the amba_console at pl011 driver init.
++ *
++ * Performs console setup for a match (as required by interface)
++ * If no <options> are specified, then assume the h/w is already setup.
++ *
++ * Returns 0 if console matches; otherwise non-zero to use default matching
++ */
++static int __init pl011_console_match(struct console *co, char *name, int idx,
++ char *options)
++{
++ unsigned char iotype;
++ resource_size_t addr;
++ int i;
++
++ if (strcmp(name, "pl011") != 0)
++ return -ENODEV;
++
++ if (uart_parse_earlycon(options, &iotype, &addr, &options))
++ return -ENODEV;
++
++ if (iotype != UPIO_MEM && iotype != UPIO_MEM32)
++ return -ENODEV;
++
++ /* try to match the port specified on the command line */
++ for (i = 0; i < ARRAY_SIZE(amba_ports); i++) {
++ struct uart_port *port;
++
++ if (!amba_ports[i])
++ continue;
++
++ port = &amba_ports[i]->port;
++
++ if (port->mapbase != addr)
++ continue;
++
++ co->index = i;
++ port->cons = co;
++ return pl011_console_setup(co, options);
++ }
++
++ return -ENODEV;
++}
++
+ static struct uart_driver amba_reg;
+ static struct console amba_console = {
+ .name = "ttyAMA",
+ .write = pl011_console_write,
+ .device = uart_console_device,
+ .setup = pl011_console_setup,
++ .match = pl011_console_match,
+ .flags = CON_PRINTBUFFER,
+ .index = -1,
+ .data = &amba_reg,
+--
+cgit v0.12
+
diff --git a/kernel.spec b/kernel.spec
index 2fc8909..9e20308 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -492,6 +492,9 @@ Source5005: kbuild-AFTER_LINK.patch
# Standalone patches
+# http://www.spinics.net/lists/linux-serial/msg24272.html
+Patch420: arm64-ACPI-parse-SPCR-table.patch
+
# a tempory patch for QCOM hardware enablement. Will be gone by end of 2016/F-26 GA
Patch421: qcom-QDF2432-tmp-errata.patch
@@ -2174,6 +2177,9 @@ fi
#
#
%changelog
+* Sat Dec 10 2016 Christopher Covington <cov(a)codeaurora.org>
+- Re-add ACPI SPCR (serial console) support
+
* Fri Dec 09 2016 Laura Abbott <labbott(a)fedoraproject.org> - 4.9.0-0.rc8.git4.1
- Linux v4.9-rc8-85-ga37102d
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora
Forum, a Linux Foundation Collaborative Project.
7 years, 4 months
[PATCH] Re-add ACPI SPCR (serial console) support
by Christopher Covington
Four SPCR patches were merged upstream into 4.9, but one was reverted by a
subsequent commit (due to a trivial merge conflict with a later, unrelated
patch). A fixed up version of the missing patch is queued up for 4.10 in
tty-next. Carry it to make sure users see serial console output on ACPI
systems. Otherwise manually setting console=ttyAMAn would be required.
---
arm64-ACPI-parse-SPCR-table.patch | 101 ++++++++++++++++++++++++++++++++++++++
kernel.spec | 6 +++
2 files changed, 107 insertions(+)
create mode 100644 arm64-ACPI-parse-SPCR-table.patch
diff --git a/arm64-ACPI-parse-SPCR-table.patch b/arm64-ACPI-parse-SPCR-table.patch
new file mode 100644
index 0000000..ad85b02
--- /dev/null
+++ b/arm64-ACPI-parse-SPCR-table.patch
@@ -0,0 +1,101 @@
+From 10879ae5f12e9cab3c4e8e9504c1aaa8a033bde7 Mon Sep 17 00:00:00 2001
+From: Aleksey Makarov <aleksey.makarov(a)linaro.org>
+Date: Tue, 4 Oct 2016 10:15:32 +0300
+Subject: serial: pl011: add console matching function
+
+This patch adds function pl011_console_match() that implements
+method match of struct console. It allows to match consoles against
+data specified in a string, for example taken from command line or
+compiled by ACPI SPCR table handler.
+
+This patch was merged to tty-next but then reverted because of
+conflict with
+
+commit 46e36683f433 ("serial: earlycon: Extend earlycon command line option to support 64-bit addresses")
+
+Now it is fixed.
+
+Signed-off-by: Aleksey Makarov <aleksey.makarov(a)linaro.org>
+Reviewed-by: Peter Hurley <peter(a)hurleysoftware.com>
+Acked-by: Russell King <rmk+kernel(a)armlinux.org.uk>
+Tested-by: Christopher Covington <cov(a)codeaurora.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
+---
+ drivers/tty/serial/amba-pl011.c | 55 +++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 55 insertions(+)
+
+diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
+index e2c33b9..c00ab22 100644
+--- a/drivers/tty/serial/amba-pl011.c
++++ b/drivers/tty/serial/amba-pl011.c
+@@ -2315,12 +2315,67 @@ static int __init pl011_console_setup(struct console *co, char *options)
+ return uart_set_options(&uap->port, co, baud, parity, bits, flow);
+ }
+
++/**
++ * pl011_console_match - non-standard console matching
++ * @co: registering console
++ * @name: name from console command line
++ * @idx: index from console command line
++ * @options: ptr to option string from console command line
++ *
++ * Only attempts to match console command lines of the form:
++ * console=pl011,mmio|mmio32,<addr>[,<options>]
++ * console=pl011,0x<addr>[,<options>]
++ * This form is used to register an initial earlycon boot console and
++ * replace it with the amba_console at pl011 driver init.
++ *
++ * Performs console setup for a match (as required by interface)
++ * If no <options> are specified, then assume the h/w is already setup.
++ *
++ * Returns 0 if console matches; otherwise non-zero to use default matching
++ */
++static int __init pl011_console_match(struct console *co, char *name, int idx,
++ char *options)
++{
++ unsigned char iotype;
++ resource_size_t addr;
++ int i;
++
++ if (strcmp(name, "pl011") != 0)
++ return -ENODEV;
++
++ if (uart_parse_earlycon(options, &iotype, &addr, &options))
++ return -ENODEV;
++
++ if (iotype != UPIO_MEM && iotype != UPIO_MEM32)
++ return -ENODEV;
++
++ /* try to match the port specified on the command line */
++ for (i = 0; i < ARRAY_SIZE(amba_ports); i++) {
++ struct uart_port *port;
++
++ if (!amba_ports[i])
++ continue;
++
++ port = &amba_ports[i]->port;
++
++ if (port->mapbase != addr)
++ continue;
++
++ co->index = i;
++ port->cons = co;
++ return pl011_console_setup(co, options);
++ }
++
++ return -ENODEV;
++}
++
+ static struct uart_driver amba_reg;
+ static struct console amba_console = {
+ .name = "ttyAMA",
+ .write = pl011_console_write,
+ .device = uart_console_device,
+ .setup = pl011_console_setup,
++ .match = pl011_console_match,
+ .flags = CON_PRINTBUFFER,
+ .index = -1,
+ .data = &amba_reg,
+--
+cgit v0.12
+
diff --git a/kernel.spec b/kernel.spec
index 2fc8909..9e20308 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -492,6 +492,9 @@ Source5005: kbuild-AFTER_LINK.patch
# Standalone patches
+# http://www.spinics.net/lists/linux-serial/msg24272.html
+Patch420: arm64-ACPI-parse-SPCR-table.patch
+
# a tempory patch for QCOM hardware enablement. Will be gone by end of 2016/F-26 GA
Patch421: qcom-QDF2432-tmp-errata.patch
@@ -2174,6 +2177,9 @@ fi
#
#
%changelog
+* Sat Dec 10 2016 Christopher Covington <cov(a)codeaurora.org>
+- Re-add ACPI SPCR (serial console) support
+
* Fri Dec 09 2016 Laura Abbott <labbott(a)fedoraproject.org> - 4.9.0-0.rc8.git4.1
- Linux v4.9-rc8-85-ga37102d
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora
Forum, a Linux Foundation Collaborative Project.
7 years, 4 months
Fedora-arm-installer
by Mickey
Fedora 21
I installed dnf install -y fedora-arm-installer but when i run
arm-image-installer, it can't find the command.
7 years, 4 months