Fix another bug in dualboot.S, add Rafael Carre as the (C) holder of dualboot.S (most of the code there is his) and use the standard Rockbox header in mkamsboot.c. This code is still untested on target.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18771 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2008-10-11 13:11:47 +00:00
parent d2e551f6df
commit 3c65d2b17f
2 changed files with 45 additions and 24 deletions

View file

@ -1,3 +1,24 @@
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id:$
*
* Copyright (C) 2008 Rafaël Carré
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
.text .text
/* This is the size of the Clip's RAM, but there is nothing to be gained /* This is the size of the Clip's RAM, but there is nothing to be gained
@ -47,7 +68,7 @@ uclcopy:
cmp r2, r0 cmp r2, r0
bne uclcopy bne uclcopy
add r5, r2, #2 /* r5 is entry point of copy of uclunpack */ add r5, r3, #2 /* r5 is entry point of copy of uclunpack */
/* function, plus one (for thumb mode */ /* function, plus one (for thumb mode */
/* enable gpio clock */ /* enable gpio clock */

View file

@ -1,26 +1,26 @@
/* /***************************************************************************
* __________ __ ___.
mkamsboot.c - a tool for merging bootloader code into an Sansa V2 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
(AMS) firmware file * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
Copyright (C) Dave Chapman 2008 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
This program is free software; you can redistribute it and/or modify * $Id:$
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or * mkamsboot.c - a tool for merging bootloader code into an Sansa V2
(at your option) any later version. * (AMS) firmware file
*
This program is distributed in the hope that it will be useful, * Copyright (C) 2008 Dave Chapman
but WITHOUT ANY WARRANTY; without even the implied warranty of *
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * This program is free software; you can redistribute it and/or
GNU General Public License for more details. * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
You should have received a copy of the GNU General Public License * of the License, or (at your option) any later version.
along with this program; if not, write to the Free Software *
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*/ *
****************************************************************************/
/* /*