mcf5307 support
RFC PATCH 1/1 mcf5307 support
Hi all,
i would like to contribute and to commit mcf5307 support.
I created all the following files:
arch/m68k/cpu/config.mkarch/m68k/cpu/cpu.carch/m68k/cpu/cpu.harch/m68k/cpu/cpu_init.carch/m68k/cpu/interrupts.carch/m68k/cpu/Makefilearch/m68k/cpu/speed.carch/m68k/cpu/start.Sarch/m68k/include/asm/immap_5307.harch/m68k/include/asm/5307.h
and did some little changes in :
arch/m68k/include/asm/cache.harch/m68k/include/asm/immap.harch/m68k/include/asm/timer.hinclude/common.h
I read u-boot site patch section.
Actually my git tree is about a month old.
Unfortunately i don't have much experience with git, and looking for some help:
seems i cannot "git pull" anymore, i am getting an error:
xu at angel7:~/u-boot.git$ git pull
error: Unable to find dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 under
http://git.denx.de/u-boot.git
Cannot obtain needed blob dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 while processing commit e6a857da746d5d7d450e59c0f86664c6b279b1c2.
error: Fetch failed.
xu at angel7:~/u-boot.git$
Is there a way to generate the patch comparing my local tree with a new "git clone" u-boot folder ?
Or otherwise, since i cannot "pull", what would be the correct procedure for the patch now ?
Many Thanks
angelo dureghello
RFC PATCH 1/1 mcf5307 support
Dear angelo,
Quoted 10 lines · In message <[email protected]> you wrote:
seems i cannot "git pull" anymore, i am getting an error:
xu at angel7:~/u-boot.git$ git pull
error: Unable to finddbf545f2d11cd3118c6c8b54122adfbe799ea1b8under
http://git.denx.de/u-boot.git
Cannot obtain needed blobdbf545f2d11cd3118c6c8b54122adfbe799ea1b8while processing commite6a857da746d5d7d450e59c0f86664c6b279b1c2.
error: Fetch failed.
xu at angel7:~/u-boot.git$
You should try unsing git protocol instead of HTTP. Also, make sure to use a recent version of git.
Quoted 2 lines
Is there a way to generate the patch comparing my local tree with a new "git clone" u-boot folder ?
You can export your patches using "git format-patch" and then re-apply these to a (branch in) a fresh clone of the master repo.
Quoted 2 lines
Or otherwise, since i cannot "pull", what would be the correct procedure for the patch now ?
In the first step, fix this pull problem.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There are three things I always forget. Names, faces - the third I can't remember. - Italo Svevo
RFC PATCH 1/1 mcf5307 support
Hi Wolfgang,
thanks for the help,
I changed url using git, but i still have an issue:
angelo at angel7:~/sysam/amcore/u-boot.git$ git checkout master
M Makefile A arch/m68k/cpu/mcf530x/Makefile A arch/m68k/cpu/mcf530x/config.mk A arch/m68k/cpu/mcf530x/cpu.c A arch/m68k/cpu/mcf530x/cpu.h A arch/m68k/cpu/mcf530x/cpu_init.c A arch/m68k/cpu/mcf530x/interrupts.c A arch/m68k/cpu/mcf530x/speed.c A arch/m68k/cpu/mcf530x/start.S M arch/m68k/include/asm/cache.h M arch/m68k/include/asm/immap.h M arch/m68k/include/asm/timer.h M boards.cfg M include/common.h M include/flash.h
Already on 'master'
Your branch is behind 'origin/master' by 331 commits, and can be fast-forwarded.
angelo at angel7:~/sysam/amcore/u-boot.git$ git pullgit://git.denx.de/u-boot.git master
From git://git.denx.de/u-boot
* branch master -> FETCH_HEAD
Updating 6f4dd40..33a6b9e
error: Your local changes to 'Makefile' would be overwritten by merge. Aborting.
Please, commit your changes or stash them before you can merge. angelo at angel7:~/sysam/amcore/u-boot.git$
I don't understand why the Makefile cannot be merged, i just added 2 lines with the target for my custom board.
Thanks
angelo
Quoted 25 lines · Wolfgang Denk
Dear angelo,
Quoted 10 lines · In message<[email protected]> you wrote:
seems i cannot "git pull" anymore, i am getting an error:
xu at angel7:~/u-boot.git$ git pull
error: Unable to finddbf545f2d11cd3118c6c8b54122adfbe799ea1b8under
http://git.denx.de/u-boot.git
Cannot obtain needed blobdbf545f2d11cd3118c6c8b54122adfbe799ea1b8while processing commite6a857da746d5d7d450e59c0f86664c6b279b1c2.
error: Fetch failed.
xu at angel7:~/u-boot.git$You should try unsing git protocol instead of HTTP. Also, make sure to use a recent version of git.
Quoted 3 lines
Is there a way to generate the patch comparing my local tree with a new "git clone" u-boot folder ?
You can export your patches using "git format-patch" and then re-apply these to a (branch in) a fresh clone of the master repo.
Quoted 10 lines
Quoted 3 lines
Or otherwise, since i cannot "pull", what would be the correct procedure for the patch now ?
In the first step, fix this pull problem.
Best regards,
Wolfgang Denk
RFC PATCH 1/1 mcf5307 support
Dear angelo,
Quoted 17 lines · In message <[email protected]> you wrote:
angelo at angel7:~/sysam/amcore/u-boot.git$ git checkout master
M Makefile A arch/m68k/cpu/mcf530x/Makefile A arch/m68k/cpu/mcf530x/config.mk A arch/m68k/cpu/mcf530x/cpu.c A arch/m68k/cpu/mcf530x/cpu.h A arch/m68k/cpu/mcf530x/cpu_init.c A arch/m68k/cpu/mcf530x/interrupts.c A arch/m68k/cpu/mcf530x/speed.c A arch/m68k/cpu/mcf530x/start.S M arch/m68k/include/asm/cache.h M arch/m68k/include/asm/immap.h M arch/m68k/include/asm/timer.h M boards.cfg M include/common.h M include/flash.h
So you have modified files in your tree...
Quoted 2 lines
I don't understand why the
Makefilecannot be merged, i just added 2 lines with the target for my custom board.
It could probably be merged, if you had used a "git merge" command. You did not, you used "git checkout", which performs a checkout of a specific version in the git repository.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Faith: not *wanting* to know what is true." - Friedrich Nietzsche