Other Parts Discussed in Thread: OMAPL138, OMAP-L132
Tool/software: Linux
I want to migrate from kernel 3.0.3 to latest PROCESSOR-SDK. I've build linux kernel, but it seems there is no longer support of option "Direct char device access to MTD devices" in kernel 4.14.67. There are no /dev/mtdX devices.
Here is my device tree fragment:
&aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>; status = "okay"; cs3 { #address-cells = <2>; #size-cells = <1>; clock-ranges; ranges; ti,cs-chipselect = <3>; nand@2000000,0 { compatible = "ti,davinci-nand"; #address-cells = <1>; #size-cells = <1>; reg = <0 0x02000000 0x02000000 1 0x00000000 0x00008000>; ti,davinci-chipselect = <1>; ti,davinci-mask-ale = <0>; ti,davinci-mask-cle = <0>; ti,davinci-mask-chipsel = <0>; ti,davinci-nand-buswidth = <8>; ti,davinci-ecc-mode = "hw"; ti,davinci-ecc-bits = <4>; ti,davinci-nand-use-bbt; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "u-boot"; reg = <0 0x100000>; }; partition@0x100000 { label = "u-boot env"; reg = <0x100000 0x020000>; }; partition@0x120000 { label = "kernel"; reg = <0x120000 0x400000>; }; partition@0x520000 { label = "fdt"; reg = <0x520000 0x010000>; }; partition@0x530000 { label = "filesystem"; reg = <0x530000 0>; }; }; }; }; };