forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[initramfs] Updated required tools for initramfs (sonic-net#3734)
* [initramfs] Updated reuired tools for initramfs Signed-off-by: Antony Rheneus <[email protected]> * [initramfs] Updated required tools for initramfs Signed-off-by: Antony Rheneus <[email protected]> * [Platform] [Marvell] Platform specific debian package for et6448m device Signed-off-by: Antony Rheneus <[email protected]> * Removed auto-generated files Signed-off-by: Antony Rheneus <[email protected]> * [initramfs] Added mtd and uboot firmware tools package required for arm arch Its been enabled to all arch including amd64 Signed-off-by: Antony Rheneus <[email protected]> * [initramfs] Added mtd and uboot firmware tools package required for arm arch Its been enabled to all arch including amd64 Signed-off-by: Antony Rheneus <[email protected]> * [initramfs] Marvell arm modules update and platform config update Signed-off-by: Antony Rheneus <[email protected]> * [iniramfs] add initramfs uboot-utils hook script only for ARM Signed-off-by: Antony Rheneus <[email protected]>
- Loading branch information
1 parent
9a089c2
commit 6bd17d4
Showing
20 changed files
with
535 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
INTERVAL=10 | ||
DEVPATH=hwmon0=devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-002e hwmon1=devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-004a hwmon2=devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-004b | ||
DEVNAME=hwmon0=adt7473 hwmon1=lm75a hwmon2=lm75a | ||
FCTEMPS=hwmon0/device/pwm2=hwmon2/temp1_input hwmon0/device/pwm1=hwmon1/temp1_input | ||
FCFANS=hwmon0/device/pwm2=hwmon0/device/fan2_input hwmon0/device/pwm1=hwmon0/device/fan1_input | ||
MINTEMP=hwmon0/device/pwm2=20 hwmon0/device/pwm1=20 | ||
MAXTEMP=hwmon0/device/pwm2=60 hwmon0/device/pwm1=60 | ||
MINSTART=hwmon0/device/pwm2=150 hwmon0/device/pwm1=150 | ||
MINSTOP=hwmon0/device/pwm2=0 hwmon0/device/pwm1=0 | ||
|
||
DEVPATH=hwmon1=devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-002e | ||
DEVNAME=hwmon1=adt7473 | ||
FCTEMPS=hwmon1/device/pwm1=hwmon1/device/temp1_input hwmon1/device/pwm2=hwmon1/device/temp2_input | ||
FCFANS=hwmon1/device/pwm1= hwmon1/device/pwm2=hwmon1/device/fan1_input | ||
MINTEMP=hwmon1/device/pwm1=20 hwmon1/device/pwm2=20 | ||
MAXTEMP=hwmon1/device/pwm1=60 hwmon1/device/pwm2=60 | ||
MINSTART=hwmon1/device/pwm1=150 hwmon1/device/pwm2=150 | ||
MINSTOP=hwmon1/device/pwm1=0 hwmon1/device/pwm2=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
crc16 | ||
deflate | ||
zlib_deflate | ||
m25p80 | ||
ubi | ||
ubifs | ||
squashfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
#Part of the code is revised based on initramfs-tool is under GPL v2. | ||
|
||
PREREQ="" | ||
|
||
prereqs() | ||
{ | ||
echo "$PREREQ" | ||
} | ||
|
||
case $1 in | ||
prereqs) | ||
prereqs | ||
exit 0 | ||
;; | ||
esac | ||
|
||
. /usr/share/initramfs-tools/hook-functions | ||
|
||
copy_exec /usr/sbin/ubiattach /sbin/ubiattach | ||
copy_exec /usr/sbin/mtdinfo /sbin/mtdinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ET6448M Platform | ||
|
||
ET6448M_VERSION=0.1 | ||
ET6448M_PLATFORM = sonic-platform-et6448m_$(ET6448M_VERSION)_$(CONFIGURED_ARCH).deb | ||
$(ET6448M_PLATFORM)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-et6448m | ||
$(ET6448M_PLATFORM)_PLATFORM = armhf-marvell_et6448m_52x-r0 | ||
SONIC_DPKG_DEBS += $(ET6448M_PLATFORM) | ||
|
||
SONIC_STRETCH_DEBS += $(ET6448M_PLATFORM) |
Oops, something went wrong.