mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
sonynwz: Add NVP information for NWZ-A810
Change-Id: I37671ddf15ee1a4b469f97fe06ec86249ff9ce60
This commit is contained in:
parent
896c828152
commit
0d794c0c06
3 changed files with 179 additions and 3 deletions
35
utils/nwztools/database/nvp/nwz-a810.txt
Normal file
35
utils/nwztools/database/nvp/nwz-a810.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
app,0
|
||||
bti,1
|
||||
hdi,2
|
||||
cng,3
|
||||
ser,4
|
||||
dg0,5
|
||||
dg1,6
|
||||
dcc,7
|
||||
mdl,8
|
||||
fup,9
|
||||
bok,10
|
||||
shp,11
|
||||
dba,12
|
||||
dbv,13
|
||||
tr0,14
|
||||
tr1,15
|
||||
mid,16
|
||||
tst,17
|
||||
gty,18
|
||||
fui,19
|
||||
lbi,20
|
||||
dor,21
|
||||
edw,22
|
||||
ubp,23
|
||||
syi,24
|
||||
var,25
|
||||
pcd,26
|
||||
dbs,27
|
||||
rnd,28
|
||||
ufn,29
|
||||
sdp,30
|
||||
ncp,31
|
||||
kas,32
|
||||
pnc,33
|
||||
rtc,34
|
||||
|
|
@ -7,9 +7,20 @@
|
|||
# where <kernel> must be of the form
|
||||
# linux-kernel-*.tgz
|
||||
#
|
||||
if [ "$#" -lt 1 ]; then
|
||||
>&2 echo "usage: parse_all_nvp_header.sh /path/to/directory"
|
||||
function usage
|
||||
{
|
||||
>&2 echo "usage: parse_all_nvp_header.sh [--new-only] /path/to/directory"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
new_only="no"
|
||||
if [ "$1" = "--new-only" ]; then
|
||||
shift
|
||||
new_only="yes"
|
||||
fi
|
||||
|
||||
# list interesting directories
|
||||
|
|
@ -22,6 +33,11 @@ do
|
|||
#echo "$codename: not linux based"
|
||||
continue
|
||||
fi
|
||||
# skip if not new
|
||||
if [ $new_only = "yes" ] && [ -e $codename.txt ]; then
|
||||
echo "Skip $codename: already exists"
|
||||
continue
|
||||
fi
|
||||
# check if we can find a kernel
|
||||
kernel_tgz=`find "$dir" -maxdepth 1 -name "linux-kernel-*.tgz"`
|
||||
if [ "$kernel_tgz" == "" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue