Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
ecc6fb79
Commit
ecc6fb79
authored
May 12, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged from rocko branch, updated rootfs flash partition size to 320MB
parent
cedb06fe
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
196 additions
and
1051 deletions
+196
-1051
elphel393-bootargs-nand.dtsi
src/arch/arm/boot/dts/elphel393-bootargs-nand.dtsi
+1
-1
elphel393-common.dtsi
src/arch/arm/boot/dts/elphel393-common.dtsi
+40
-33
elphel393-revision-rev0-B.dtsi
src/arch/arm/boot/dts/elphel393-revision-rev0-B.dtsi
+23
-0
elphel393-revision-revC.dtsi
src/arch/arm/boot/dts/elphel393-revision-revC.dtsi
+23
-0
elphel393-zynq-base.dtsi
src/arch/arm/boot/dts/elphel393-zynq-base.dtsi
+13
-12
elphel393_1_mt9p006.dts
src/arch/arm/boot/dts/elphel393_1_mt9p006.dts
+0
-323
elphel393_4_lepton35.dts
src/arch/arm/boot/dts/elphel393_4_lepton35.dts
+3
-312
elphel393_4_mt9f002.dts
src/arch/arm/boot/dts/elphel393_4_mt9f002.dts
+18
-0
elphel393_4_mt9p006.dts
src/arch/arm/boot/dts/elphel393_4_mt9p006.dts
+3
-312
elphel393_eyesis.dts
src/arch/arm/boot/dts/elphel393_eyesis.dts
+36
-29
elphel393_eyesis_bottom2.dts
src/arch/arm/boot/dts/elphel393_eyesis_bottom2.dts
+36
-29
No files found.
src/arch/arm/boot/dts/elphel393-bootargs-nand.dtsi
View file @
ecc6fb79
/**/
/**/
/ {
/ {
chosen {
chosen {
bootargs = "earlycon cma=336M root=ubi0:elphel393-rootfs rootwait rootfstype=ubifs ubi.mtd=4,
512
";
bootargs = "earlycon cma=336M root=ubi0:elphel393-rootfs rootwait rootfstype=ubifs ubi.mtd=4,
2048
";
stdout-path = "serial0:115200n8";
stdout-path = "serial0:115200n8";
};
};
};
};
src/arch/arm/boot/dts/elphel393
_4_mt9p006_revB.dts
→
src/arch/arm/boot/dts/elphel393
-common.dtsi
View file @
ecc6fb79
/*
welcome
to
elphel393
device
tree
*/
/*
elphel393
device
tree
*/
/
include
/
"elphel393-zynq-base.dtsi"
/
include
/
"elphel393-bootargs.dtsi"
/
{
/
{
model
=
"Elphel 10393"
;
model
=
"Elphel 10393"
;
...
@@ -114,41 +113,49 @@
...
@@ -114,41 +113,49 @@
device_type = "ethernet-phy";
device_type = "ethernet-phy";
/* rev0 - revB: reg = <0x3> */
/* rev0 - revB: reg = <0x3> */
/* revC: reg = <0x0> */
/* revC: reg = <0x0> */
reg = <0x
3
>;
reg = <0x
0
>;
};
};
};
};
};
};
smcc: memory-controller@e000e000 {
ps7_smcc_0: ps7-smcc@e000e000 {
nand0: flash@e1000000 {
ps7_nand_0: ps7-nand@e1000000 {
partitions {
compatible = "arm,pl353-nand-r2p1";
compatible = "fixed-partitions";
reg = < 0xe1000000 0x1000000 >;
#address-cells = <1>;
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/
#size-cells = <1>;
arm,nand-width = <0x8>;
partition@0 {
arm,nand-cycle-t0 = <0x4>;
label = "u-boot-spl";
arm,nand-cycle-t1 = <0x4>;
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t2 = <0x1>;
};
arm,nand-cycle-t3 = <0x2>;
partition@1 {
arm,nand-cycle-t4 = <0x2>;
label = "u-boot";
arm,nand-cycle-t5 = <0x2>;
reg = <0x100000 0x400000>;/*4MB*/
arm,nand-cycle-t6 = <0x4>;
};
#address-cells = <0x1>;
partition@2 {
#size-cells = <0x1>;
label = "device-tree";
partition@0 {
reg = <0x500000 0x100000>;/*1MB*/
label = "u-boot-spl";
};
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
};
};
};
partition@1 {
};
label = "u-boot";
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 {
elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci";
compatible = "elphel,elphel-ahci";
...
...
src/arch/arm/boot/dts/elphel393-revision-rev0-B.dtsi
0 → 100644
View file @
ecc6fb79
/ {
ps7_axi_interconnect_0: amba@0 {
ps7_ethernet_0: ps7-ethernet@e000b000 {
local-mac-address = [00 0e 64 10 00 00];
phy-handle = <&phy3>;
phy-mode = "rgmii-id";
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy3: phy@3 {
/* Atheros 8035 */
compatible = "ethernet-phy-id004d.d072";
/* compatible = "ethernet-phy-ieee802.3-c22";*/
device_type = "ethernet-phy";
/* rev0 - revB: reg = <0x3> */
/* revC: reg = <0x0> */
reg = <0x3>;
};
};
};
};
};
\ No newline at end of file
src/arch/arm/boot/dts/elphel393-revision-revC.dtsi
0 → 100644
View file @
ecc6fb79
/ {
ps7_axi_interconnect_0: amba@0 {
ps7_ethernet_0: ps7-ethernet@e000b000 {
local-mac-address = [00 0e 64 10 00 00];
phy-handle = <&phy3>;
phy-mode = "rgmii-id";
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy3: phy@3 {
/* Atheros 8035 */
compatible = "ethernet-phy-id004d.d072";
/* compatible = "ethernet-phy-ieee802.3-c22";*/
device_type = "ethernet-phy";
/* rev0 - revB: reg = <0x3> */
/* revC: reg = <0x0> */
reg = <0x0>;
};
};
};
};
};
\ No newline at end of file
src/arch/arm/boot/dts/elphel393-zynq-base.dtsi
View file @
ecc6fb79
...
@@ -296,23 +296,24 @@
...
@@ -296,23 +296,24 @@
reg
=
<
0xf8001000
0x1000
>;
reg
=
<
0xf8001000
0x1000
>;
}
;
}
;
smcc
:
memory
-
controller
@
e000e000
{
ps7_smcc_0
:
ps7
-
smcc
@
e000e000
{
#
address
-
cells
=
<
2
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
clock
-
names
=
"memclk"
,
"a
pb_p
clk"
;
clock
-
names
=
"memclk"
,
"aclk"
;
clocks
=
<&
clkc
11
>,
<&
clkc
44
>;
clocks
=
<&
clkc
11
>,
<&
clkc
44
>;
compatible
=
"arm,pl353-smc-r2p1"
,
"arm,primecell"
;
compatible
=
"arm,pl353-smc-r2p1"
;
interrupt
-
parent
=
<&
ps7_scugic_0
>;
interrupt
-
parent
=
<&
ps7_scugic_0
>;
interrupts
=
<
0
18
4
>;
interrupts
=
<
0
18
4
>;
ranges
=
<
0x0
0x0
0xe1000000
0x1000000
//
Nand
CS
Region
ranges
;
0x1
0x0
0xe2000000
0x2000000
//
SRAM
/
NOR
CS
Region
reg
=
<
0xe000e000
0x1000
>;
0x2
0x0
0xe4000000
0x2000000
>;
//
SRAM
/
NOR
CS
Region
arm
,
addr25
=
<
0x0
>;
arm
,
nor
-
chip
-
sel0
=
<
0x0
>;
reg
=
<
0xe000e000
0x1000
>;
arm
,
nor
-
chip
-
sel1
=
<
0x0
>;
nand0
:
flash
@
e1000000
{
arm
,
sram
-
chip
-
sel0
=
<
0x0
>;
arm
,
sram
-
chip
-
sel1
=
<
0x0
>;
ps7_nand_0
:
ps7
-
nand
@
e1000000
{
compatible
=
"arm,pl353-nand-r2p1"
;
compatible
=
"arm,pl353-nand-r2p1"
;
reg
=
<
0
0
0x1000000
>;
reg
=
<
0xe1000000
0x1000000
>;
nand
-
ecc
-
mode
=
"on-die"
;
/*
arm
,
nand
-
clk
-
freq
-
hz
=
<
0x5f5e100
>;*/
/*
arm
,
nand
-
clk
-
freq
-
hz
=
<
0x5f5e100
>;*/
arm
,
nand
-
width
=
<
0x8
>;
arm
,
nand
-
width
=
<
0x8
>;
arm
,
nand
-
cycle
-
t0
=
<
0x4
>;
arm
,
nand
-
cycle
-
t0
=
<
0x4
>;
...
...
src/arch/arm/boot/dts/elphel393_1_mt9p006.dts
deleted
100644 → 0
View file @
cedb06fe
This diff is collapsed.
Click to expand it.
src/arch/arm/boot/dts/elphel393_4_lepton35.dts
View file @
ecc6fb79
This diff is collapsed.
Click to expand it.
src/arch/arm/boot/dts/elphel393_4_mt9f002.dts
0 → 100644
View file @
ecc6fb79
/* elphel393 device tree */
/include/ "elphel393-zynq-base.dtsi"
/include/ "elphel393-bootargs.dtsi"
/include/ "elphel393-common.dtsi"
/include/ "elphel393-revision.dtsi"
/ {
elphel393_detect_sensors: elphel393-detect_sensors@0 {
compatible = "elphel,elphel393-detect_sensors-1.00";
elphel393-detect_sensors,port-mux = "none none none none"; /* "none", "detect" or "mux10359" */
elphel393-detect_sensors,sensors = "mt9f002", // Line per port, may contain up to 4 sensors (3 with 10359)
"mt9f002",
"mt9f002",
"mt9f002";
};
};
src/arch/arm/boot/dts/elphel393_4_mt9p006.dts
View file @
ecc6fb79
This diff is collapsed.
Click to expand it.
src/arch/arm/boot/dts/elphel393_eyesis.dts
View file @
ecc6fb79
...
@@ -117,36 +117,43 @@
...
@@ -117,36 +117,43 @@
};
};
};
};
smcc: memory-controller@e000e000 {
ps7_smcc_0: ps7-smcc@e000e000 {
nand0: flash@e1000000 {
ps7_nand_0: ps7-nand@e1000000 {
partitions {
compatible = "arm,pl353-nand-r2p1";
compatible = "fixed-partitions";
reg = < 0xe1000000 0x1000000 >;
#address-cells = <1>;
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/
#size-cells = <1>;
arm,nand-width = <0x8>;
partition@0 {
arm,nand-cycle-t0 = <0x4>;
label = "u-boot-spl";
arm,nand-cycle-t1 = <0x4>;
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t2 = <0x1>;
};
arm,nand-cycle-t3 = <0x2>;
partition@1 {
arm,nand-cycle-t4 = <0x2>;
label = "u-boot";
arm,nand-cycle-t5 = <0x2>;
reg = <0x100000 0x400000>;/*4MB*/
arm,nand-cycle-t6 = <0x4>;
};
#address-cells = <0x1>;
partition@2 {
#size-cells = <0x1>;
label = "device-tree";
partition@0 {
reg = <0x500000 0x100000>;/*1MB*/
label = "u-boot-spl";
};
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
};
};
};
partition@1 {
};
label = "u-boot";
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 {
elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci";
compatible = "elphel,elphel-ahci";
...
...
src/arch/arm/boot/dts/elphel393_eyesis_bottom2.dts
View file @
ecc6fb79
...
@@ -117,36 +117,43 @@
...
@@ -117,36 +117,43 @@
};
};
};
};
smcc: memory-controller@e000e000 {
ps7_smcc_0: ps7-smcc@e000e000 {
nand0: flash@e1000000 {
ps7_nand_0: ps7-nand@e1000000 {
partitions {
compatible = "arm,pl353-nand-r2p1";
compatible = "fixed-partitions";
reg = < 0xe1000000 0x1000000 >;
#address-cells = <1>;
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/
#size-cells = <1>;
arm,nand-width = <0x8>;
partition@0 {
arm,nand-cycle-t0 = <0x4>;
label = "u-boot-spl";
arm,nand-cycle-t1 = <0x4>;
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t2 = <0x1>;
};
arm,nand-cycle-t3 = <0x2>;
partition@1 {
arm,nand-cycle-t4 = <0x2>;
label = "u-boot";
arm,nand-cycle-t5 = <0x2>;
reg = <0x100000 0x400000>;/*4MB*/
arm,nand-cycle-t6 = <0x4>;
};
#address-cells = <0x1>;
partition@2 {
#size-cells = <0x1>;
label = "device-tree";
partition@0 {
reg = <0x500000 0x100000>;/*1MB*/
label = "u-boot-spl";
};
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
};
};
};
partition@1 {
};
label = "u-boot";
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 {
elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci";
compatible = "elphel,elphel-ahci";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment