R
R
redcircle2021-07-25 14:39:46
linux
redcircle, 2021-07-25 14:39:46

How to add a device on a booted Linux kernel that is usually added via DTB?

There is an SPI-Flash device connected via the SPI bus.

It is not listed in DTB .

How not to overload, connect it?

In DT, the entry would be something like this:

&qspi {
status = "okay";
[email protected] {
#address-cells = <1>;
#size-cells = <1>;
compatible = "micron,mt25qu02g", "jedec,spi-nor";
reg=<0>;
spi-max-frequency = <100000000>;

m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
}
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SOTVM, 2021-07-25
@sotvm

you connect the right one, then
sudo sysctl -p
like this, I'm not sure, maybe someone who knows will tell

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question