Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
U
uboot-imx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
uboot-imx
Commits
eadbd011
Commit
eadbd011
authored
Jul 07, 2020
by
Guido Gunther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add helper to fetch imx firmware
parent
c5ad1cb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
debian/bin/fetch-imx-firmware
debian/bin/fetch-imx-firmware
+30
-0
No files found.
debian/bin/fetch-imx-firmware
0 → 100755
View file @
eadbd011
#!/bin/bash
set
-e
URL_BASE
=
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/
FIRMWARE
=
firmware-imx-8.7.bin
function
cleanup
()
{
[
-z
"
${
DLDIR
}
"
]
||
rm
-rf
"
${
DLDIR
}
"
}
trap
cleanup EXIT
if
[
-z
"
$1
"
]
;
then
echo
"No output dir given"
1>&2
exit
1
fi
OUT
=
$1
DLDIR
=
$(
mktemp
-d
)
cd
"
${
DLDIR
}
"
wget
"
${
URL_BASE
}
/
${
FIRMWARE
}
"
chmod
+x
"
${
FIRMWARE
}
"
./
"
${
FIRMWARE
}
"
--auto-accept
cd
-
for
f
in
ddr/synopsys/lpddr4_pmu_train_?d_?mem.bin hdmi/cadence/signed_
*
_imx8m.bin
;
do
cp
-v
${
DLDIR
}
/
$(
basename
"
${
FIRMWARE
}
"
.bin
)
/firmware/
$f
"
${
OUT
}
"
done
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