diff options
| author | Marcin Bukat <marcin.bukat@gmail.com> | 2011-05-30 21:10:37 +0000 |
|---|---|---|
| committer | Marcin Bukat <marcin.bukat@gmail.com> | 2011-05-30 21:10:37 +0000 |
| commit | 976a1699da373f01dabc9353b34aef261ebf740f (patch) | |
| tree | 5f1649ceb51d603471e6b1cf5dcb5192626897d6 /tools | |
| parent | 8a5a2b82fd2d35e3eb7afa8f0dc875e3874988bb (diff) | |
| download | rockbox-976a1699da373f01dabc9353b34aef261ebf740f.zip rockbox-976a1699da373f01dabc9353b34aef261ebf740f.tar.gz rockbox-976a1699da373f01dabc9353b34aef261ebf740f.tar.bz2 rockbox-976a1699da373f01dabc9353b34aef261ebf740f.tar.xz | |
Rockchip rk27xx port initial commit. This is still work in progress.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29935 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/configure | 34 | ||||
| -rw-r--r-- | tools/scramble.c | 4 |
2 files changed, 35 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure index 96953c8..d988e75 100755 --- a/tools/configure +++ b/tools/configure @@ -500,6 +500,13 @@ arm1176jzscc () { endian="little" } +arm7ejscc () { + findarmgcc + GCCOPTS="$CCOPTS -march=armv5te" + GCCOPTIMIZE="-fomit-frame-pointer" + endian="little" +} + mipselcc () { prefixtools mipsel-elf- # mips is predefined, but we want it for paths. use __mips instead @@ -1271,8 +1278,8 @@ cat <<EOF 200) SDL 170) HD200 131) Mini2440 201) Android 171) HD300 202) Nokia N8xx - 203) Nokia N900 - 204) Pandora + 203) Nokia N900 ==ROCKCHIP== + 204) Pandora 180) rk27xx generic EOF @@ -2969,6 +2976,29 @@ fi t_model="hd300" ;; + 180|rk27generic) + target_id=78 + modelname="rk27generic" + target="-DRK27_GENERIC" + memory=16 # always + arm7ejscc + tool="$rootdir/tools/scramble -add=rk27" + bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" + bmp2rb_native="$rootdir/tools/bmp2rb -f 4" + output="rockbox.rk27" + bootoutput="bootloader.rk27" + appextra="recorder:gui:radio" + plugins="yes" + swcodec="yes" + # toolset is the tools within the tools directory that we build for + # this particular target. + toolset="$genericbitmaptools" + # architecture, manufacturer and model for the target-tree build + t_cpu="arm" + t_manufacturer="rk27xx" + t_model="rk27generic" + ;; + 200|sdlapp) application="yes" target_id=73 diff --git a/tools/scramble.c b/tools/scramble.c index dbf41fd..6839733 100644 --- a/tools/scramble.c +++ b/tools/scramble.c @@ -126,7 +126,7 @@ void usage(void) printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n" "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n" "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n" - "\t ip6g)\n"); + "\t ip6g, rk27)\n"); printf("\nNo option results in Archos standard player/recorder format.\n"); exit(1); @@ -337,6 +337,8 @@ int main (int argc, char** argv) modelnum = 71; else if (!strcmp(&argv[1][5], "fuz+")) /* Sansa Fuze+ */ modelnum = 72; + else if (!strcmp(&argv[1][5], "rk27")) /* rockchip 27xx generic */ + modelnum = 73; else { fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); return 2; |