Hi folks,
does anyone know how to build an linux kernel for running on
the Zyxel G-570U router box ?
thx
--
-
Enrico Weigelt== metux IT service - http://www.metux.de
of the National Instruments hardware
(except those few which are supported by iio/comedi).
NI itself doesn't have any actually usable Linux support
(not even on ther Linux based cRIO controllers :o)
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
module aliases
(though that doesn't work for built-in drivers).
Configure by already compiled binaries ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
)
* only certain whitelisted filesystems allowed (eg. 9P and FUSE)
Maybe that all could be enabled by a new capability.
any suggestions ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
On 13.02.2018 22:12, Enrico Weigelt wrote:
CC @contain...@lists.linux-foundation.org
Hi folks,
I'm currently trying to implement plan9 semantics on Linux and
yet sorting out how to do the mount namespace handling.
On plan9, any unprivileged process can create its own namespace
and mount
esn't work for me (even as root). But docker works,
so user namespaces should be working. Any idea what could be wrong ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
/setgroups': Permission denied
daemon@alphabox:~ unshare -f -r -U
unshare: can't open '/proc/self/setgroups': Permission denied
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
On 14.02.2018 12:30, Richard Weinberger wrote:
On Wed, Feb 14, 2018 at 12:27 PM, Enrico Weigelt <l...@metux.net> wrote:
On 14.02.2018 11:24, Aleksa Sarai wrote:
What distribution are you using and which release?
On a self-compiled system.
Forgot to enable namespaces in the kerne
Am I missing something ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
Seems it fails to write the uid map.
Is the order of setgroups vs uid_map correct ?
What's the exact relation between user and mnt namespace ?
Why do I need an own user ns for private mnt ns ? (except for the suid
bit, which I wanna get rid of anyways).
mount related system calls are root-only. Therefore you need the user
namespace to become a root in your own little world. :)
I'm looking for a way to do that w/o being root (or something similar).
Actually, I don't like to change the user namespace, as it would cause
a lot of trouble w/ the /dev/cap[hash|use] devices, which I'm using for
user switching (as said: I'm going to get rid of suid completely).
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
lose(PATH_PROC_GIDMAP, uidmap_buf);
} else
if (setgrp_str) {
hmm, now it works, but only when strace'ing it.
that's really strange.
But still I wonder whether user_ns really solves my problem, as I don't
want to create sandboxed users, but only private namespaces just like
on Plan9.
course gplv3 as Al pointed out is a blocker)
already fixed.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
te mnt ns ? (except for the suid
bit, which I wanna get rid of anyways).
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
Hi folks,
in fork.c, a spinlock is held for fs_struct refcounting, while other
places - eg. switch_task_namespaces uses atomic_dec_and_test() on
the nsproxy.
What's the exact difference here ? Could the atomic counting also used
for fs_struct ?
--mtx
--
Enrico Weigelt, metux IT consult
Free
On 14.02.2018 19:12, Richard Weinberger wrote:
BTW: Your issue is fixed/known. Just checked.
aha, on 1.2.28 ... I'll have to upgrade.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
On 15.02.2018 10:14, Richard Weinberger wrote:
On Wed, Feb 14, 2018 at 10:13 PM, Enrico Weigelt <l...@metux.net> wrote:
Hi folks,
in fork.c, a spinlock is held for fs_struct refcounting, while other
places - eg. switch_task_namespaces uses atomic_dec_and_test() on
the nsproxy.
hashval[SHA1_DIGEST_SIZE] = { 0 };
+ char *cmdbuf;
+
+ if (!(cmdbuf = kzalloc(count, GFP_KERNEL)))
count is unbound, please apply a limit check.
ok.
+ {
+ char *walk = cmdbuf;
cmdbuf is toxic, make sure it is at least nul-terminated.
ok.
+ if (hma
and picked dynamically via kprobes-alike approach. If the
device happens to be directly cpu-accessible, ops for direct memory
access are inserted, otherwise appropriate function calls. Or maybe
the bpf jit somehow could be abused for that ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software
Hi folks,
does anyone know how to build an linux kernel for running on
the Zyxel G-570U router box ?
thx
--
-
Enrico Weigelt== metux IT service - http://www.metux.de
Am I missing something ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
/setgroups': Permission denied
daemon@alphabox:~ unshare -f -r -U
unshare: can't open '/proc/self/setgroups': Permission denied
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
On 14.02.2018 12:30, Richard Weinberger wrote:
On Wed, Feb 14, 2018 at 12:27 PM, Enrico Weigelt wrote:
On 14.02.2018 11:24, Aleksa Sarai wrote:
What distribution are you using and which release?
On a self-compiled system.
Forgot to enable namespaces in the kernel. Now it seems to work
te mnt ns ? (except for the suid
bit, which I wanna get rid of anyways).
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
Seems it fails to write the uid map.
Is the order of setgroups vs uid_map correct ?
What's the exact relation between user and mnt namespace ?
Why do I need an own user ns for private mnt ns ? (except for the suid
bit, which I wanna get rid of anyways).
mount related system calls are root-only. Therefore you need the user
namespace to become a root in your own little world. :)
I'm looking for a way to do that w/o being root (or something similar).
Actually, I don't like to change the user namespace, as it would cause
a lot of trouble w/ the /dev/cap[hash|use] devices, which I'm using for
user switching (as said: I'm going to get rid of suid completely).
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
lose(PATH_PROC_GIDMAP, uidmap_buf);
} else
if (setgrp_str) {
hmm, now it works, but only when strace'ing it.
that's really strange.
But still I wonder whether user_ns really solves my problem, as I don't
want to create sandboxed users, but only private namespaces just like
on Plan9.
course gplv3 as Al pointed out is a blocker)
already fixed.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
On 14.02.2018 19:12, Richard Weinberger wrote:
BTW: Your issue is fixed/known. Just checked.
aha, on 1.2.28 ... I'll have to upgrade.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
Hi folks,
in fork.c, a spinlock is held for fs_struct refcounting, while other
places - eg. switch_task_namespaces uses atomic_dec_and_test() on
the nsproxy.
What's the exact difference here ? Could the atomic counting also used
for fs_struct ?
--mtx
--
Enrico Weigelt, metux IT consult
Free
On 15.02.2018 10:14, Richard Weinberger wrote:
On Wed, Feb 14, 2018 at 10:13 PM, Enrico Weigelt wrote:
Hi folks,
in fork.c, a spinlock is held for fs_struct refcounting, while other
places - eg. switch_task_namespaces uses atomic_dec_and_test() on
the nsproxy.
What's the exact difference
hashval[SHA1_DIGEST_SIZE] = { 0 };
+ char *cmdbuf;
+
+ if (!(cmdbuf = kzalloc(count, GFP_KERNEL)))
count is unbound, please apply a limit check.
ok.
+ {
+ char *walk = cmdbuf;
cmdbuf is toxic, make sure it is at least nul-terminated.
ok.
+ if (hma
module aliases
(though that doesn't work for built-in drivers).
Configure by already compiled binaries ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
)
* only certain whitelisted filesystems allowed (eg. 9P and FUSE)
Maybe that all could be enabled by a new capability.
any suggestions ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
On 13.02.2018 22:12, Enrico Weigelt wrote:
CC @contain...@lists.linux-foundation.org
Hi folks,
I'm currently trying to implement plan9 semantics on Linux and
yet sorting out how to do the mount namespace handling.
On plan9, any unprivileged process can create its own namespace
and mount
esn't work for me (even as root). But docker works,
so user namespaces should be working. Any idea what could be wrong ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
and picked dynamically via kprobes-alike approach. If the
device happens to be directly cpu-accessible, ops for direct memory
access are inserted, otherwise appropriate function calls. Or maybe
the bpf jit somehow could be abused for that ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software
of the National Instruments hardware
(except those few which are supported by iio/comedi).
NI itself doesn't have any actually usable Linux support
(not even on ther Linux based cRIO controllers :o)
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
exchange
buffers between GPUs, VPUs, IPUs, FBs, etc ?
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur für einen
begrenzten Personenkreis
- or bnlkdev support).
Anyone here, who uses a Linux kernel as bootloader / preboot
environment ?
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur
Am 13.05.2015 um 09:02 schrieb Pavel Machek:
Anyone here, who uses a Linux kernel as bootloader / preboot
environment ?
Yes. See kexec.
Can you tell us a bit more about your setup ?
Which platforms/archs are you on ?
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG
,
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur für einen
begrenzten Personenkreis bestimmte Informationen enthalten. Sie ist
ausschließlich für
Hi folks,
I've rebased the IPUv3 patches from ptx folks onto 4.0.4,
working good for me. (now gst plays h264 @25fps on imx53)
https://github.com/metux/linux/commits/submit-4.0-imx53-ipuv3
(Haven't 4.1rc* yet, as it broke some other things for me.)
cu
--
Enrico Weigelt, metux IT consult
.
Unfortunately, I've missed that ... could you please resend you patches?
Boot time reduction is one of the topics on my 2do in several weeks.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis
Am 29.05.2015 um 19:36 schrieb Theodore Ts'o:
Yes, it's ugly, but there still are some SOC and drivers that aren't
available on newer kernels.
Why so, exactly ?
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg
Am 29.05.2015 um 17:01 schrieb Richard Weinberger:
Hi,
On Fri, May 29, 2015 at 4:53 PM, Enrico Weigelt, metux IT consult
weig...@melag.de wrote:
Am 29.05.2015 um 04:54 schrieb Luis R. Rodriguez:
Actually, I really wonder why folks are sticking to ancient kernels on
newer hardware
wireless-testing) and
stabilize that by cherry-picking individual patches on top of it.
Can you estimate the required workforce ?
Some statistics on that would be really nice.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG
, therefore no GL/GSL, therefore no QtQuick/QML.
Pavel already mentioned the correct way to go: chip vendors should
provide proper (mainline'able) patches, or at least full specs.
And I'll add: those who dont, should simply be boycotted.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG
the decision, that I can't tolerate any proprietary
code - not on mission critical embedded systems.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur für
kernel hacks (eg. Freescale
is one of the worst). So I'll have to forward-port drivers to newer
kernels - but I never had the practical need to backport one.
Actually, I really wonder why folks are sticking to ancient kernels on
newer hardware.
--mtx
--
Enrico Weigelt, metux IT consult
+49-151
workstation. You can safely ignore that.
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur für einen
begrenzten Personenkreis bestimmte
, both patches should be squashed into one, IMHO.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur für einen
begrenzten Personenkreis bestimmte
Am 25.05.2015 um 09:14 schrieb Rob Landley:
Personally, I'm sad we're starting to get ACPI for arm but if device
tree data files are only available under GPL, people will hold their
nose and deploy ACPI.
What's the big deal with having DTS/DTB under GPL ?
cu
--
Enrico Weigelt, metux
)
And there shouldn't be any proprietary firmware anyways.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur für einen
begrenzten Personenkreis
ipuv3 patches, but still
have lots of others (about 30) for my tqma53-based board, which might
be generic enough for going into mainline someday (many of them by
ptx folks).
Should I post them to lkml or somewhere else ?
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik
weeks ago (IIRC, on rc1) - I'm currently rebasing
everything again to the recent master.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis: Diese Nachricht kann vertrauliche oder nur für einen
,
not at this critical point.
Even for larger systems - except the crippled x86 world - I won't even
allow any proprietary bootloader/firmware.
cu
--
Enrico Weigelt, metux IT consult
+49-151-27565287
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis
)
--mtx
--
Enrico Weigelt, metux IT consult
+49-151-27565287
--
https://www.facebook.com/MELAG.Medizintechnik
[http://www.melag.de/fbbanner.png]https://www.facebook.com/MELAG.Medizintechnik
MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg HRA
21333 B
Wichtiger Hinweis
On 29.06.2017 14:47, Viresh Kumar wrote:
No. Drivers are registered to the kernel (randomly, though we can know
their order) and devices are registered separately (platform/amba
devices get registered automatically with DT, hint:
drivers/of/platform.c). The device core checks while registering
Hi folks,
I'm currently writing a driver for an (pseudo-)serial device
(actually, a bunch of HW fifo's, which look like serial controllers
to the host), which only supports polling, no interrupts.
So far, I'm just using a kthread in a loop, but that would have to
run w/ high priority sleep very
On 26.06.2017 14:51, Alan Cox wrote:
Hi,
You can write your own driver for the physical hardware and claim it in
your driver. Shouldn't normally be needed except for bizarre cases when a
serial link is used for something very non tty like (eg as GPIO lines).
In my case, it's not really a
On 28.06.2017 10:26, Viresh Kumar wrote:
Hi,
Some devices are powered ON by the bootloaders before the bootloader
handovers control to Linux. It maybe important for those devices to keep
working until the time a Linux device driver probes the device and
reconfigure its resources.
Just
On 29.06.2017 12:49, Russell King - ARM Linux wrote:
The location of the frame buffer is unknown to the decompressor - and
as the decompressor self-relocates itself (using purely assembly code),
it could relocate itself on top of the frame buffer, causing the "nice"
image to become very
---
include/linux/platform_device.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h
index 98c2a7c7108e..723c209d3760 100644
--- a/include/linux/platform_device.h
+++ b/include/linux/platform_device.h
@@ -368,4 +368,11 @@
Hi folks,
I'd like to introduce a new printk() conversion which prints out
errno values as readable text.
Where are these things defined ?
I'd guess the actual translation must be somewhere in lib/vsprintf.c,
but where are the format string checks defined ?
thx
--mtx
Adding a new format conversion for *printf() and friends.
If CONFIG_ERRNO_PRINTF_VERBOSE is enabled, prints human-readable
strerror()-like texts, otherwise just the number.
---
lib/Kconfig| 19 +++
lib/vsprintf.c | 172 -
2 files
On 25.06.2017 19:27, Joe Perches wrote:
> Every use of %M is going to cause gcc when using __printf to emit
> a warning like:
>
> unknown conversion type character ‘M’ in format [-Wformat=]
Yeah, that's still an open problem. Actually, I still haven't found out,
how it's done w/ all the other
On 25.06.2017 22:10, Joe Perches wrote:
>> Yeah, that's still an open problem. Actually, I still haven't found out,
>> how it's done w/ all the other kernel-internal conversions.
>
> Everything else uses "%p",
hmm, but errno's aren't pointers. Isn't %p checked for pointer values ?
>> Already
Hi folks,
I'm currently implementing drivers for an industrial backplane, (*1)
which uses some kind of rpc / command-response mechanism.
There're different variants, eg. some proprietary serial interface,
USB link, pci cards, etc. On top of that there's a block-based command-
response mechanism
Hi folks,
is there already a way for accessing serial ports from drivers,
w/o having to go through the TTY subsystem ?
Serdev seems provide a connection between arbitrary TTYs to device
drivers. But this implies always having a TTY for each UART (even if
it's never used outside the kernel).
Is
On 26.06.2017 00:47, Randy Dunlap wrote:
> but why not just do that in userspace.
Patch up syslogd (which one, actually?) to decode all the dozens of
different cases that print out errno values ?
Applying your argument more consequently - why do we have human-readable
messages at all, instead
Hi folks,
did anyone already use the imx6's csi port for anything other than
cameras ?
I'm thinking about using it for an ADC (in fpga). Theoretically it
should be possible to transfer non-video data, but the question
here is whether the ipu might interfer here (eg. trying colorspace
Hi folks,
I'm getting lots of warnings from dtc about unit address format errors:
For example in imx6q.dtsi:
ocram: sram@0090 {
The node name's address part has leading zeros which dtc doesn't like.
It doesn't seem to have a big influence (yet ?), but I'd guess this
warning is there
nable hdmi display
--> enable sdma
--> enable usb
...
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
Hi folks,
I've got device with some strange device that triggers two irqs via one
line. Rising means buffer A filled, falling mean buffer B filled.
I'd like to handle that via two separate interrupts. Is it possible to
register both an rising and an falling edge irq on the same line ?
--mtx
v2 of the p9caps patch
From: "Enrico Weigelt, metux IT consult" <i...@metux.net>
This driver implements the Plan9 capability devices, used for
switching user id via capability tokens.
https://9p.io/sys/doc/auth.html
---
drivers/staging/Kconfig | 2 +
drivers/staging/Makefile| 1 +
On 12.02.2018 23:24, Frank Rowand wrote:
There is a tool to aid this process: scripts/dtc/dt_to_config. It is not
a 100% solution, but it is very helpful.
The problem is difficult enough that this tool led to a conference talk.
The slides are at
On 13.02.2018 07:16, Serge E. Hallyn wrote:
+ /* make sure only one instance per namespace can be opened */ > > ...
at a time
yeah, right.
might be better to keep this state in the user_ns itself, would
avoid kzalloc below.
thought about, but hesitated to touch user_ns. might not be
Hi folks,
is there any way for drivers to add aux data to user namespaces ?
I'm currently implementing plan9-like capabilities authentication,
and I'd like to keep this separate by user-ns.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net
rate from the actual drivers - they just
enable them automatically. Of course they'll have to be maintained by
the driver maintainers.
What do you think about this idea ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
From: "Enrico Weigelt, metux IT consult" <i...@metux.net>
This driver implements the Plan9 capability devices, used for
switching user id via capability tokens.
https://9p.io/sys/doc/auth.html
---
drivers/staging/Kconfig | 2 +
drivers/staging/Makefile| 1 +
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
n't stop anybody.
> If I understand the context correctly, the previous "regime" could be
> the culprit, at least to some extent, why still don't have the VM
> look containers with vanilla.
Why exactly do you think so ?
What exactly are you missing here ?
Where's the connection to
lves, and sometimes there is just not enough time to say anything.
Yes. I've been demotivated by this problem myself. But I know, I can't
expect anybody else do to my homework for me.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
rt, eg. when it's about
corporations like NVidia, or people who try to refit the Kernel for
their broken userland stuff.
If I may propose a patches to your /dev/brain, the only issue would be
100% strict GPL enforcement ;-)
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
Hi folks,
did anyone already use the imx6's csi port for anything other than
cameras ?
I'm thinking about using it for an ADC (in fpga). Theoretically it
should be possible to transfer non-video data, but the question
here is whether the ipu might interfer here (eg. trying colorspace
On 13.02.2018 07:16, Serge E. Hallyn wrote:
+ /* make sure only one instance per namespace can be opened */ > > ...
at a time
yeah, right.
might be better to keep this state in the user_ns itself, would
avoid kzalloc below.
thought about, but hesitated to touch user_ns. might not be
On 12.02.2018 23:24, Frank Rowand wrote:
There is a tool to aid this process: scripts/dtc/dt_to_config. It is not
a 100% solution, but it is very helpful.
The problem is difficult enough that this tool led to a conference talk.
The slides are at
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
On 26.06.2017 14:51, Alan Cox wrote:
Hi,
You can write your own driver for the physical hardware and claim it in
your driver. Shouldn't normally be needed except for bizarre cases when a
serial link is used for something very non tty like (eg as GPIO lines).
In my case, it's not really a
Hi folks,
I'm currently writing a driver for an (pseudo-)serial device
(actually, a bunch of HW fifo's, which look like serial controllers
to the host), which only supports polling, no interrupts.
So far, I'm just using a kthread in a loop, but that would have to
run w/ high priority sleep very
On 28.06.2017 10:26, Viresh Kumar wrote:
Hi,
Some devices are powered ON by the bootloaders before the bootloader
handovers control to Linux. It maybe important for those devices to keep
working until the time a Linux device driver probes the device and
reconfigure its resources.
Just
On 29.06.2017 12:49, Russell King - ARM Linux wrote:
The location of the frame buffer is unknown to the decompressor - and
as the decompressor self-relocates itself (using purely assembly code),
it could relocate itself on top of the frame buffer, causing the "nice"
image to become very
On 29.06.2017 14:47, Viresh Kumar wrote:
No. Drivers are registered to the kernel (randomly, though we can know
their order) and devices are registered separately (platform/amba
devices get registered automatically with DT, hint:
drivers/of/platform.c). The device core checks while registering
---
include/linux/platform_device.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h
index 98c2a7c7108e..723c209d3760 100644
--- a/include/linux/platform_device.h
+++ b/include/linux/platform_device.h
@@ -368,4 +368,11 @@
Hi folks,
I've got device with some strange device that triggers two irqs via one
line. Rising means buffer A filled, falling mean buffer B filled.
I'd like to handle that via two separate interrupts. Is it possible to
register both an rising and an falling edge irq on the same line ?
--mtx
nable hdmi display
--> enable sdma
--> enable usb
...
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
Hi folks,
I'm getting lots of warnings from dtc about unit address format errors:
For example in imx6q.dtsi:
ocram: sram@0090 {
The node name's address part has leading zeros which dtc doesn't like.
It doesn't seem to have a big influence (yet ?), but I'd guess this
warning is there
The change c0f975af1745391749e4306aa8081b9a4d2cced8 introduces a bug when
HOSTCC contains parameters: the whole command line is treated as the program
name (with spaces in it). Therefore, we have to remove the quotes.
Fixes: c0f975af1745391749e4306aa8081b9a4d2cced8
Signed-off-by: Enrico Weigelt
1 - 100 of 1004 matches
Mail list logo