diff options
Diffstat (limited to 'arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x')
-rw-r--r-- | arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/bootsource (renamed from arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/config-board) | 8 | ||||
-rw-r--r-- | arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/init-usbserial | 4 | ||||
-rw-r--r-- | arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/bootargs.base | 1 | ||||
-rw-r--r-- | arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/hostname | 1 |
4 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/config-board b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/bootsource index a492ed1bb5..76d1f9b3c2 100644 --- a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/config-board +++ b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/bootsource @@ -1,10 +1,8 @@ #!/bin/sh -# board defaults, do not change in running system. Change /env/config -# instead - -global.hostname=pcm051 -global.linux.bootargs.base="console=ttyO0,115200" +if [ -n "$nv.boot.default" ]; then + exit +fi if [ $bootsource = mmc ]; then global.boot.default="mmc nand spi net" diff --git a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/init-usbserial b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/init-usbserial new file mode 100644 index 0000000000..a154fd1805 --- /dev/null +++ b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/init/init-usbserial @@ -0,0 +1,4 @@ +#!/bin/sh + +#otg1.mode=peripheral +usbgadget -a -A /dev/nand0.kernel.bb(kernel) diff --git a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/bootargs.base b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/bootargs.base new file mode 100644 index 0000000000..d7b01a1683 --- /dev/null +++ b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/bootargs.base @@ -0,0 +1 @@ +console=ttyO0,115200 diff --git a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/hostname b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/hostname new file mode 100644 index 0000000000..988ab6dd32 --- /dev/null +++ b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/nv/hostname @@ -0,0 +1 @@ +pcm051 |