* Booting kernel 2.6.37+ for renesas sh on sh2a 7203
@ 2011-01-16 16:39 Fabio Giovagnini
2011-01-17 8:42 ` Paul Mundt
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: Fabio Giovagnini @ 2011-01-16 16:39 UTC (permalink / raw)
To: linux-sh
Hi All,
did nay of you booted such a kernel release on rsk+ dev board?
Thanks
--
Ing. Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
@ 2011-01-17 8:42 ` Paul Mundt
2011-01-17 8:55 ` Fabio Giovagnini
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Paul Mundt @ 2011-01-17 8:42 UTC (permalink / raw)
To: linux-sh
On Sun, Jan 16, 2011 at 05:39:57PM +0100, Fabio Giovagnini wrote:
> Hi All,
> did nay of you booted such a kernel release on rsk+ dev board?
>
Yes.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
2011-01-17 8:42 ` Paul Mundt
@ 2011-01-17 8:55 ` Fabio Giovagnini
2011-01-17 8:55 ` Paul Mundt
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Fabio Giovagnini @ 2011-01-17 8:55 UTC (permalink / raw)
To: linux-sh
Thanks Paul for your answer.
Did you use uBoot for booting, or the MCP data bootloader?
On Monday 17 January 2011 09:42:19 Paul Mundt wrote:
> On Sun, Jan 16, 2011 at 05:39:57PM +0100, Fabio Giovagnini wrote:
> > Hi All,
> > did nay of you booted such a kernel release on rsk+ dev board?
>
> Yes.
--
Ing. Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
2011-01-17 8:42 ` Paul Mundt
2011-01-17 8:55 ` Fabio Giovagnini
@ 2011-01-17 8:55 ` Paul Mundt
2011-01-17 21:30 ` Fabio Giovagnini
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Paul Mundt @ 2011-01-17 8:55 UTC (permalink / raw)
To: linux-sh
On Mon, Jan 17, 2011 at 09:55:15AM +0100, Fabio Giovagnini wrote:
> Thanks Paul for your answer.
> Did you use uBoot for booting, or the MCP data bootloader?
>
The only boards I have all have uboot on them. The uboot version I use is
a bit buggy though so I often have to use trimmed down kernels for the
decompression to succeed (Iwamatsu-san did the initial port as I recall,
and I don't think its had much attention since then). I'm unaware of
whether other versions of the board have the same issues or not. I've
never seen the MPC loader, so if you're using that then of course you
will have to ask them for support.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
` (2 preceding siblings ...)
2011-01-17 8:55 ` Paul Mundt
@ 2011-01-17 21:30 ` Fabio Giovagnini
2011-01-18 0:28 ` Paul Mundt
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Fabio Giovagnini @ 2011-01-17 21:30 UTC (permalink / raw)
To: linux-sh
Where could I find the exact sequence of command I have to execute to build and
run under u-boot the kernel?
I did:
make uImage and I got the following:
Is there anything wrong?
I used the toolchain
sh7203-uclinux-4.4-206
and with the same u-boot is built and executed properly.
Thanks in advance
fgiovagnini@aurio01:~/sh7203/sh7203-uclinux-4.4-206/build$ make -f
Makefile.sh-2.6
***************************************************
*** Building Linux ***
***************************************************
make -C /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/../sh-2.6
ARCH=sh CROSS_COMPILE=sh-uclinux- uImage
make[1]: ingresso nella directory «/home/fgiovagnini/sh7203/sh7203-
uclinux-4.4-206/sh-2.6»
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: «include/generated/machtypes.h» è aggiornato.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
sh-uclinux-ld: Warning: size of symbol `read_persistent_clock' changed from 24
in arch/sh/kernel/built-in.o to 16 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `arch_probe_nr_irqs' changed from 28 in
arch/sh/kernel/built-in.o to 12 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `perf_callchain_kernel' changed from 96
in arch/sh/kernel/built-in.o to 10 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `perf_pmu_name' changed from 30 in
arch/sh/kernel/built-in.o to 18 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `arch_dup_task_struct' changed from 104
in arch/sh/kernel/built-in.o to 28 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_mremap' changed from 12 in
kernel/built-in.o to 108 in mm/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_signalfd4' changed from 12 in
kernel/built-in.o to 340 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_setup' changed from 12 in
kernel/built-in.o to 894 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_cancel' changed from 12 in
kernel/built-in.o to 332 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_eventfd' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_create' changed from 12 in
kernel/built-in.o to 32 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ioprio_set' changed from 12 in
kernel/built-in.o to 480 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_pwait' changed from 12 in
kernel/built-in.o to 256 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_ctl' changed from 12 in
kernel/built-in.o to 916 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_wait' changed from 12 in
kernel/built-in.o to 664 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_add_watch' changed from 12
in kernel/built-in.o to 648 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_signalfd' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_eventfd2' changed from 12 in
kernel/built-in.o to 104 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_create1' changed from 12 in
kernel/built-in.o to 260 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_settime' changed from 12
in kernel/built-in.o to 440 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_init' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_init1' changed from 12 in
kernel/built-in.o to 292 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_submit' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_bdflush' changed from 12 in
kernel/built-in.o to 120 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_create' changed from 12 in
kernel/built-in.o to 164 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_flock' changed from 12 in
kernel/built-in.o to 264 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_gettime' changed from 12
in kernel/built-in.o to 316 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_rm_watch' changed from 12
in kernel/built-in.o to 132 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ioprio_get' changed from 12 in
kernel/built-in.o to 496 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_getevents' changed from 12 in
kernel/built-in.o to 776 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_destroy' changed from 12 in
kernel/built-in.o to 44 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_lookup_dcookie' changed from 12 in
kernel/built-in.o to 284 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgget' changed from 12 in
kernel/built-in.o to 80 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmdt' changed from 12 in
kernel/built-in.o to 140 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgrcv' changed from 12 in
kernel/built-in.o to 92 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semget' changed from 12 in
kernel/built-in.o to 104 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semctl' changed from 12 in
kernel/built-in.o to 180 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semtimedop' changed from 12 in
kernel/built-in.o to 1300 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmctl' changed from 12 in
kernel/built-in.o to 1088 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgsnd' changed from 12 in
kernel/built-in.o to 60 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semop' changed from 12 in
kernel/built-in.o to 24 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmat' changed from 12 in
kernel/built-in.o to 40 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgctl' changed from 12 in
kernel/built-in.o to 772 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmget' changed from 12 in
kernel/built-in.o to 88 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ipc' changed from 12 in
kernel/built-in.o to 444 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `__div64_32' changed from 56 in
arch/sh/lib/lib.a(div64-generic.o) to 172 in lib/built-in.o
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
sh-uclinux-ld: Warning: size of symbol `read_persistent_clock' changed from 24
in arch/sh/kernel/built-in.o to 16 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `arch_probe_nr_irqs' changed from 28 in
arch/sh/kernel/built-in.o to 12 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `perf_callchain_kernel' changed from 96
in arch/sh/kernel/built-in.o to 10 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `perf_pmu_name' changed from 30 in
arch/sh/kernel/built-in.o to 18 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `arch_dup_task_struct' changed from 104
in arch/sh/kernel/built-in.o to 28 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_mremap' changed from 12 in
kernel/built-in.o to 108 in mm/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_signalfd4' changed from 12 in
kernel/built-in.o to 340 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_setup' changed from 12 in
kernel/built-in.o to 894 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_cancel' changed from 12 in
kernel/built-in.o to 332 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_eventfd' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_create' changed from 12 in
kernel/built-in.o to 32 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ioprio_set' changed from 12 in
kernel/built-in.o to 480 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_pwait' changed from 12 in
kernel/built-in.o to 256 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_ctl' changed from 12 in
kernel/built-in.o to 916 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_wait' changed from 12 in
kernel/built-in.o to 664 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_add_watch' changed from 12
in kernel/built-in.o to 648 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_signalfd' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_eventfd2' changed from 12 in
kernel/built-in.o to 104 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_create1' changed from 12 in
kernel/built-in.o to 260 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_settime' changed from 12
in kernel/built-in.o to 440 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_init' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_init1' changed from 12 in
kernel/built-in.o to 292 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_submit' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_bdflush' changed from 12 in
kernel/built-in.o to 120 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_create' changed from 12 in
kernel/built-in.o to 164 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_flock' changed from 12 in
kernel/built-in.o to 264 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_gettime' changed from 12
in kernel/built-in.o to 316 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_rm_watch' changed from 12
in kernel/built-in.o to 132 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ioprio_get' changed from 12 in
kernel/built-in.o to 496 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_getevents' changed from 12 in
kernel/built-in.o to 776 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_destroy' changed from 12 in
kernel/built-in.o to 44 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_lookup_dcookie' changed from 12 in
kernel/built-in.o to 284 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgget' changed from 12 in
kernel/built-in.o to 80 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmdt' changed from 12 in
kernel/built-in.o to 140 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgrcv' changed from 12 in
kernel/built-in.o to 92 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semget' changed from 12 in
kernel/built-in.o to 104 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semctl' changed from 12 in
kernel/built-in.o to 180 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semtimedop' changed from 12 in
kernel/built-in.o to 1300 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmctl' changed from 12 in
kernel/built-in.o to 1088 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgsnd' changed from 12 in
kernel/built-in.o to 60 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semop' changed from 12 in
kernel/built-in.o to 24 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmat' changed from 12 in
kernel/built-in.o to 40 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgctl' changed from 12 in
kernel/built-in.o to 772 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmget' changed from 12 in
kernel/built-in.o to 88 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ipc' changed from 12 in
kernel/built-in.o to 444 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `__div64_32' changed from 56 in
arch/sh/lib/lib.a(div64-generic.o) to 172 in lib/built-in.o
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
sh-uclinux-ld: Warning: size of symbol `read_persistent_clock' changed from 24
in arch/sh/kernel/built-in.o to 16 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `arch_probe_nr_irqs' changed from 28 in
arch/sh/kernel/built-in.o to 12 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `perf_callchain_kernel' changed from 96
in arch/sh/kernel/built-in.o to 10 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `perf_pmu_name' changed from 30 in
arch/sh/kernel/built-in.o to 18 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `arch_dup_task_struct' changed from 104
in arch/sh/kernel/built-in.o to 28 in kernel/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_mremap' changed from 12 in
kernel/built-in.o to 108 in mm/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_signalfd4' changed from 12 in
kernel/built-in.o to 340 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_setup' changed from 12 in
kernel/built-in.o to 894 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_cancel' changed from 12 in
kernel/built-in.o to 332 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_eventfd' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_create' changed from 12 in
kernel/built-in.o to 32 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ioprio_set' changed from 12 in
kernel/built-in.o to 480 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_pwait' changed from 12 in
kernel/built-in.o to 256 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_ctl' changed from 12 in
kernel/built-in.o to 916 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_wait' changed from 12 in
kernel/built-in.o to 664 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_add_watch' changed from 12
in kernel/built-in.o to 648 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_signalfd' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_eventfd2' changed from 12 in
kernel/built-in.o to 104 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_epoll_create1' changed from 12 in
kernel/built-in.o to 260 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_settime' changed from 12
in kernel/built-in.o to 440 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_init' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_init1' changed from 12 in
kernel/built-in.o to 292 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_submit' changed from 12 in
kernel/built-in.o to 24 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_bdflush' changed from 12 in
kernel/built-in.o to 120 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_create' changed from 12 in
kernel/built-in.o to 164 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_flock' changed from 12 in
kernel/built-in.o to 264 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_timerfd_gettime' changed from 12
in kernel/built-in.o to 316 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_inotify_rm_watch' changed from 12
in kernel/built-in.o to 132 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ioprio_get' changed from 12 in
kernel/built-in.o to 496 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_getevents' changed from 12 in
kernel/built-in.o to 776 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_io_destroy' changed from 12 in
kernel/built-in.o to 44 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_lookup_dcookie' changed from 12 in
kernel/built-in.o to 284 in fs/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgget' changed from 12 in
kernel/built-in.o to 80 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmdt' changed from 12 in
kernel/built-in.o to 140 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgrcv' changed from 12 in
kernel/built-in.o to 92 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semget' changed from 12 in
kernel/built-in.o to 104 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semctl' changed from 12 in
kernel/built-in.o to 180 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semtimedop' changed from 12 in
kernel/built-in.o to 1300 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmctl' changed from 12 in
kernel/built-in.o to 1088 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgsnd' changed from 12 in
kernel/built-in.o to 60 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_semop' changed from 12 in
kernel/built-in.o to 24 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmat' changed from 12 in
kernel/built-in.o to 40 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_msgctl' changed from 12 in
kernel/built-in.o to 772 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_shmget' changed from 12 in
kernel/built-in.o to 88 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `sys_ipc' changed from 12 in
kernel/built-in.o to 444 in ipc/built-in.o
sh-uclinux-ld: Warning: size of symbol `__div64_32' changed from 56 in
arch/sh/lib/lib.a(div64-generic.o) to 172 in lib/built-in.o
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/sh/boot/vmlinux.bin
GZIP arch/sh/boot/vmlinux.bin.gz
UIMAGE arch/sh/boot/uImage.gz
Image Name: Linux-2.6.37+
Created: Mon Jan 17 22:27:07 2011
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 975877 Bytes = 953.00 kB = 0.93 MB
Load Address: 0x0C001000
Entry Point: 0x0C002000
Image arch/sh/boot/uImage is ready
make[1]: uscita dalla directory «/home/fgiovagnini/sh7203/sh7203-
uclinux-4.4-206/sh-2.6»
make -C /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/../sh-2.6
ARCH=sh CROSS_COMPILE=sh-uclinux- modules
make[1]: ingresso nella directory «/home/fgiovagnini/sh7203/sh7203-
uclinux-4.4-206/sh-2.6»
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: «include/generated/machtypes.h» è aggiornato.
CALL scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 1 modules
make[1]: uscita dalla directory «/home/fgiovagnini/sh7203/sh7203-
uclinux-4.4-206/sh-2.6»
mkdir -p /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/sh7203-
images/root_fs/lib/modules
cd /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/../sh-2.6/drivers; \
cp `find . -name '*.ko' -print` /home/fgiovagnini/sh7203/sh7203-
uclinux-4.4-206/build/sh7203-images/root_fs/lib/modules
***************************************************
*** Building Complete ***
***************************************************
On Monday 17 January 2011 09:55:28 Paul Mundt wrote:
> On Mon, Jan 17, 2011 at 09:55:15AM +0100, Fabio Giovagnini wrote:
> > Thanks Paul for your answer.
> > Did you use uBoot for booting, or the MCP data bootloader?
>
> The only boards I have all have uboot on them. The uboot version I use is
> a bit buggy though so I often have to use trimmed down kernels for the
> decompression to succeed (Iwamatsu-san did the initial port as I recall,
> and I don't think its had much attention since then). I'm unaware of
> whether other versions of the board have the same issues or not. I've
> never seen the MPC loader, so if you're using that then of course you
> will have to ask them for support.
--
Ing. Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
` (3 preceding siblings ...)
2011-01-17 21:30 ` Fabio Giovagnini
@ 2011-01-18 0:28 ` Paul Mundt
2011-01-18 15:10 ` Fabio Giovagnini
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Paul Mundt @ 2011-01-18 0:28 UTC (permalink / raw)
To: linux-sh
On Mon, Jan 17, 2011 at 10:30:28PM +0100, Fabio Giovagnini wrote:
> Where could I find the exact sequence of command I have to execute to build and
> run under u-boot the kernel?
> I did:
> make uImage and I got the following:
>
> Is there anything wrong?
> I used the toolchain
> sh7203-uclinux-4.4-206
> and with the same u-boot is built and executed properly.
>
> fgiovagnini@aurio01:~/sh7203/sh7203-uclinux-4.4-206/build$ make -f
> Makefile.sh-2.6
>
>
> ***************************************************
> *** Building Linux ***
> ***************************************************
> make -C /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/../sh-2.6
> ARCH=sh CROSS_COMPILE=sh-uclinux- uImage
> make[1]: ingresso nella directory ?/home/fgiovagnini/sh7203/sh7203-
> uclinux-4.4-206/sh-2.6?
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> make[2]: ?include/generated/machtypes.h? ? aggiornato.
> CALL scripts/checksyscalls.sh
> CHK include/generated/compile.h
> GEN .version
> CHK include/generated/compile.h
> UPD include/generated/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
[snip]
> SYSMAP System.map
> SYSMAP .tmp_System.map
> OBJCOPY arch/sh/boot/vmlinux.bin
> GZIP arch/sh/boot/vmlinux.bin.gz
> UIMAGE arch/sh/boot/uImage.gz
> Image Name: Linux-2.6.37+
> Created: Mon Jan 17 22:27:07 2011
> Image Type: SuperH Linux Kernel Image (gzip compressed)
> Data Size: 975877 Bytes = 953.00 kB = 0.93 MB
> Load Address: 0x0C001000
> Entry Point: 0x0C002000
> Image arch/sh/boot/uImage is ready
The uImage has generated succesfully, so what exactly is the problem?
If you need basic uboot instructions then try the uboot website or
mailing list.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
` (4 preceding siblings ...)
2011-01-18 0:28 ` Paul Mundt
@ 2011-01-18 15:10 ` Fabio Giovagnini
2011-01-19 8:42 ` Fabio Giovagnini
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Fabio Giovagnini @ 2011-01-18 15:10 UTC (permalink / raw)
To: linux-sh
Hi Paul,
the prolem is the following:
if I build a linux.bin linking togheter my bootstrap code and teh kernel
zImage the kernel boots;
when I build uImage it doesn't boot. Really I see nothing on the minicom
terminal, but using the e10a emulator tu run the uboot + kernel I see the
software looped into cpu_idle function.
One guy wrote to me that arm need to match teh uboot board supprot and the
kerne lboard support.
Is it true?
If yes is it true also for renesas?
Thanks
On Monday 17 January 2011 22:30:28 Fabio Giovagnini wrote:
> Where could I find the exact sequence of command I have to execute to build
> and run under u-boot the kernel?
> I did:
> make uImage and I got the following:
>
> Is there anything wrong?
> I used the toolchain
> sh7203-uclinux-4.4-206
> and with the same u-boot is built and executed properly.
>
> Thanks in advance
>
>
> fgiovagnini@aurio01:~/sh7203/sh7203-uclinux-4.4-206/build$ make -f
> Makefile.sh-2.6
>
>
> ***************************************************
> *** Building Linux ***
> ***************************************************
> make -C /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/../sh-2.6
> ARCH=sh CROSS_COMPILE=sh-uclinux- uImage
> make[1]: ingresso nella directory «/home/fgiovagnini/sh7203/sh7203-
> uclinux-4.4-206/sh-2.6»
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> make[2]: «include/generated/machtypes.h» è aggiornato.
> CALL scripts/checksyscalls.sh
> CHK include/generated/compile.h
> GEN .version
> CHK include/generated/compile.h
> UPD include/generated/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> sh-uclinux-ld: Warning: size of symbol `read_persistent_clock' changed from
> 24 in arch/sh/kernel/built-in.o to 16 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `arch_probe_nr_irqs' changed from 28
> in arch/sh/kernel/built-in.o to 12 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `perf_callchain_kernel' changed from
> 96 in arch/sh/kernel/built-in.o to 10 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `perf_pmu_name' changed from 30 in
> arch/sh/kernel/built-in.o to 18 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `arch_dup_task_struct' changed from
> 104 in arch/sh/kernel/built-in.o to 28 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_mremap' changed from 12 in
> kernel/built-in.o to 108 in mm/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_signalfd4' changed from 12 in
> kernel/built-in.o to 340 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_setup' changed from 12 in
> kernel/built-in.o to 894 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_cancel' changed from 12 in
> kernel/built-in.o to 332 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_eventfd' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_create' changed from 12
> in kernel/built-in.o to 32 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ioprio_set' changed from 12 in
> kernel/built-in.o to 480 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_pwait' changed from 12 in
> kernel/built-in.o to 256 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_ctl' changed from 12 in
> kernel/built-in.o to 916 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_wait' changed from 12 in
> kernel/built-in.o to 664 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_add_watch' changed from
> 12 in kernel/built-in.o to 648 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_signalfd' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_eventfd2' changed from 12 in
> kernel/built-in.o to 104 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_create1' changed from 12
> in kernel/built-in.o to 260 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_settime' changed from
> 12 in kernel/built-in.o to 440 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_init' changed from 12
> in kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_init1' changed from 12
> in kernel/built-in.o to 292 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_submit' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_bdflush' changed from 12 in
> kernel/built-in.o to 120 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_create' changed from 12
> in kernel/built-in.o to 164 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_flock' changed from 12 in
> kernel/built-in.o to 264 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_gettime' changed from
> 12 in kernel/built-in.o to 316 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_rm_watch' changed from
> 12 in kernel/built-in.o to 132 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ioprio_get' changed from 12 in
> kernel/built-in.o to 496 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_getevents' changed from 12
> in kernel/built-in.o to 776 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_destroy' changed from 12 in
> kernel/built-in.o to 44 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_lookup_dcookie' changed from 12
> in kernel/built-in.o to 284 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgget' changed from 12 in
> kernel/built-in.o to 80 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmdt' changed from 12 in
> kernel/built-in.o to 140 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgrcv' changed from 12 in
> kernel/built-in.o to 92 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semget' changed from 12 in
> kernel/built-in.o to 104 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semctl' changed from 12 in
> kernel/built-in.o to 180 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semtimedop' changed from 12 in
> kernel/built-in.o to 1300 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmctl' changed from 12 in
> kernel/built-in.o to 1088 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgsnd' changed from 12 in
> kernel/built-in.o to 60 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semop' changed from 12 in
> kernel/built-in.o to 24 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmat' changed from 12 in
> kernel/built-in.o to 40 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgctl' changed from 12 in
> kernel/built-in.o to 772 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmget' changed from 12 in
> kernel/built-in.o to 88 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ipc' changed from 12 in
> kernel/built-in.o to 444 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `__div64_32' changed from 56 in
> arch/sh/lib/lib.a(div64-generic.o) to 172 in lib/built-in.o
> KSYM .tmp_kallsyms1.S
> AS .tmp_kallsyms1.o
> LD .tmp_vmlinux2
> sh-uclinux-ld: Warning: size of symbol `read_persistent_clock' changed from
> 24 in arch/sh/kernel/built-in.o to 16 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `arch_probe_nr_irqs' changed from 28
> in arch/sh/kernel/built-in.o to 12 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `perf_callchain_kernel' changed from
> 96 in arch/sh/kernel/built-in.o to 10 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `perf_pmu_name' changed from 30 in
> arch/sh/kernel/built-in.o to 18 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `arch_dup_task_struct' changed from
> 104 in arch/sh/kernel/built-in.o to 28 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_mremap' changed from 12 in
> kernel/built-in.o to 108 in mm/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_signalfd4' changed from 12 in
> kernel/built-in.o to 340 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_setup' changed from 12 in
> kernel/built-in.o to 894 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_cancel' changed from 12 in
> kernel/built-in.o to 332 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_eventfd' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_create' changed from 12
> in kernel/built-in.o to 32 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ioprio_set' changed from 12 in
> kernel/built-in.o to 480 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_pwait' changed from 12 in
> kernel/built-in.o to 256 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_ctl' changed from 12 in
> kernel/built-in.o to 916 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_wait' changed from 12 in
> kernel/built-in.o to 664 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_add_watch' changed from
> 12 in kernel/built-in.o to 648 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_signalfd' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_eventfd2' changed from 12 in
> kernel/built-in.o to 104 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_create1' changed from 12
> in kernel/built-in.o to 260 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_settime' changed from
> 12 in kernel/built-in.o to 440 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_init' changed from 12
> in kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_init1' changed from 12
> in kernel/built-in.o to 292 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_submit' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_bdflush' changed from 12 in
> kernel/built-in.o to 120 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_create' changed from 12
> in kernel/built-in.o to 164 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_flock' changed from 12 in
> kernel/built-in.o to 264 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_gettime' changed from
> 12 in kernel/built-in.o to 316 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_rm_watch' changed from
> 12 in kernel/built-in.o to 132 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ioprio_get' changed from 12 in
> kernel/built-in.o to 496 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_getevents' changed from 12
> in kernel/built-in.o to 776 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_destroy' changed from 12 in
> kernel/built-in.o to 44 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_lookup_dcookie' changed from 12
> in kernel/built-in.o to 284 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgget' changed from 12 in
> kernel/built-in.o to 80 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmdt' changed from 12 in
> kernel/built-in.o to 140 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgrcv' changed from 12 in
> kernel/built-in.o to 92 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semget' changed from 12 in
> kernel/built-in.o to 104 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semctl' changed from 12 in
> kernel/built-in.o to 180 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semtimedop' changed from 12 in
> kernel/built-in.o to 1300 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmctl' changed from 12 in
> kernel/built-in.o to 1088 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgsnd' changed from 12 in
> kernel/built-in.o to 60 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semop' changed from 12 in
> kernel/built-in.o to 24 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmat' changed from 12 in
> kernel/built-in.o to 40 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgctl' changed from 12 in
> kernel/built-in.o to 772 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmget' changed from 12 in
> kernel/built-in.o to 88 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ipc' changed from 12 in
> kernel/built-in.o to 444 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `__div64_32' changed from 56 in
> arch/sh/lib/lib.a(div64-generic.o) to 172 in lib/built-in.o
> KSYM .tmp_kallsyms2.S
> AS .tmp_kallsyms2.o
> LD vmlinux
> sh-uclinux-ld: Warning: size of symbol `read_persistent_clock' changed from
> 24 in arch/sh/kernel/built-in.o to 16 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `arch_probe_nr_irqs' changed from 28
> in arch/sh/kernel/built-in.o to 12 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `perf_callchain_kernel' changed from
> 96 in arch/sh/kernel/built-in.o to 10 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `perf_pmu_name' changed from 30 in
> arch/sh/kernel/built-in.o to 18 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `arch_dup_task_struct' changed from
> 104 in arch/sh/kernel/built-in.o to 28 in kernel/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_mremap' changed from 12 in
> kernel/built-in.o to 108 in mm/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_signalfd4' changed from 12 in
> kernel/built-in.o to 340 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_setup' changed from 12 in
> kernel/built-in.o to 894 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_cancel' changed from 12 in
> kernel/built-in.o to 332 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_eventfd' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_create' changed from 12
> in kernel/built-in.o to 32 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ioprio_set' changed from 12 in
> kernel/built-in.o to 480 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_pwait' changed from 12 in
> kernel/built-in.o to 256 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_ctl' changed from 12 in
> kernel/built-in.o to 916 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_wait' changed from 12 in
> kernel/built-in.o to 664 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_add_watch' changed from
> 12 in kernel/built-in.o to 648 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_signalfd' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_eventfd2' changed from 12 in
> kernel/built-in.o to 104 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_epoll_create1' changed from 12
> in kernel/built-in.o to 260 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_settime' changed from
> 12 in kernel/built-in.o to 440 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_init' changed from 12
> in kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_init1' changed from 12
> in kernel/built-in.o to 292 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_submit' changed from 12 in
> kernel/built-in.o to 24 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_bdflush' changed from 12 in
> kernel/built-in.o to 120 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_create' changed from 12
> in kernel/built-in.o to 164 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_flock' changed from 12 in
> kernel/built-in.o to 264 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_timerfd_gettime' changed from
> 12 in kernel/built-in.o to 316 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_inotify_rm_watch' changed from
> 12 in kernel/built-in.o to 132 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ioprio_get' changed from 12 in
> kernel/built-in.o to 496 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_getevents' changed from 12
> in kernel/built-in.o to 776 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_io_destroy' changed from 12 in
> kernel/built-in.o to 44 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_lookup_dcookie' changed from 12
> in kernel/built-in.o to 284 in fs/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgget' changed from 12 in
> kernel/built-in.o to 80 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmdt' changed from 12 in
> kernel/built-in.o to 140 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgrcv' changed from 12 in
> kernel/built-in.o to 92 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semget' changed from 12 in
> kernel/built-in.o to 104 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semctl' changed from 12 in
> kernel/built-in.o to 180 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semtimedop' changed from 12 in
> kernel/built-in.o to 1300 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmctl' changed from 12 in
> kernel/built-in.o to 1088 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgsnd' changed from 12 in
> kernel/built-in.o to 60 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_semop' changed from 12 in
> kernel/built-in.o to 24 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmat' changed from 12 in
> kernel/built-in.o to 40 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_msgctl' changed from 12 in
> kernel/built-in.o to 772 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_shmget' changed from 12 in
> kernel/built-in.o to 88 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `sys_ipc' changed from 12 in
> kernel/built-in.o to 444 in ipc/built-in.o
> sh-uclinux-ld: Warning: size of symbol `__div64_32' changed from 56 in
> arch/sh/lib/lib.a(div64-generic.o) to 172 in lib/built-in.o
> SYSMAP System.map
> SYSMAP .tmp_System.map
> OBJCOPY arch/sh/boot/vmlinux.bin
> GZIP arch/sh/boot/vmlinux.bin.gz
> UIMAGE arch/sh/boot/uImage.gz
> Image Name: Linux-2.6.37+
> Created: Mon Jan 17 22:27:07 2011
> Image Type: SuperH Linux Kernel Image (gzip compressed)
> Data Size: 975877 Bytes = 953.00 kB = 0.93 MB
> Load Address: 0x0C001000
> Entry Point: 0x0C002000
> Image arch/sh/boot/uImage is ready
> make[1]: uscita dalla directory «/home/fgiovagnini/sh7203/sh7203-
> uclinux-4.4-206/sh-2.6»
> make -C /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/../sh-2.6
> ARCH=sh CROSS_COMPILE=sh-uclinux- modules
> make[1]: ingresso nella directory «/home/fgiovagnini/sh7203/sh7203-
> uclinux-4.4-206/sh-2.6»
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> make[2]: «include/generated/machtypes.h» è aggiornato.
> CALL scripts/checksyscalls.sh
> Building modules, stage 2.
> MODPOST 1 modules
> make[1]: uscita dalla directory «/home/fgiovagnini/sh7203/sh7203-
> uclinux-4.4-206/sh-2.6»
> mkdir -p /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/sh7203-
> images/root_fs/lib/modules
> cd /home/fgiovagnini/sh7203/sh7203-uclinux-4.4-206/build/../sh-2.6/drivers;
> \ cp `find . -name '*.ko' -print` /home/fgiovagnini/sh7203/sh7203-
> uclinux-4.4-206/build/sh7203-images/root_fs/lib/modules
>
>
> ***************************************************
> *** Building Complete ***
> ***************************************************
>
> On Monday 17 January 2011 09:55:28 Paul Mundt wrote:
> > On Mon, Jan 17, 2011 at 09:55:15AM +0100, Fabio Giovagnini wrote:
> > > Thanks Paul for your answer.
> > > Did you use uBoot for booting, or the MCP data bootloader?
> >
> > The only boards I have all have uboot on them. The uboot version I use is
> > a bit buggy though so I often have to use trimmed down kernels for the
> > decompression to succeed (Iwamatsu-san did the initial port as I recall,
> > and I don't think its had much attention since then). I'm unaware of
> > whether other versions of the board have the same issues or not. I've
> > never seen the MPC loader, so if you're using that then of course you
> > will have to ask them for support.
--
Ing. Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
` (5 preceding siblings ...)
2011-01-18 15:10 ` Fabio Giovagnini
@ 2011-01-19 8:42 ` Fabio Giovagnini
2011-01-19 9:01 ` Phil Edworthy
2011-01-19 21:52 ` Fabio Giovagnini
8 siblings, 0 replies; 10+ messages in thread
From: Fabio Giovagnini @ 2011-01-19 8:42 UTC (permalink / raw)
To: linux-sh
Hi Phil,
I found this document:
http://www.stlinux.com/u-boot/mkimage/kernel-images
and following its instructions I found:
$ sh-uclinux-objdump -f vmlinux | grep '^start address ' | awk '{print $3}'
and I got
0x0c800000
According to the document it should be the execute address ( I undestand it is
the entry point).
If I execute the command:
$ sh-uclinux-objdump -f vmlinux | grep .empty_zero_page | awk '{print $4}'
Nothing happen, as this symbol is not into the header.
When I run make uImage the results are different as wrote in precedent emails.
Could be this the problem?
How can I set the load address if no .empty_zero_page info I have?
Thanks a lot
On Tuesday 18 January 2011 18:40:51 Phil Edworthy wrote:
> Oh, one more thing... perhaps you can load the kernel straight into memory
> rather than flash. Then run from there. At least you would know if your
> kernel is running correctly or not.
>
> Phil
>
> > -----Original Message-----
> > From: Fabio Giovagnini [mailto:fabio.giovagnini@aurion-tech.com]
> > Sent: 18 January 2011 17:12
> > To: Phil Edworthy
> > Subject: Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
> >
> > This is my output:
> > Where could be the problem of nothing viewed on the terminal after the
> > decompression?
> > U-Boot 2010.12-09860-g9cb5761-dirty (Jan 18 2011 - 18:03:44)
> >
> > CPU: SH2A
> > BOARD: MLCD7203
> > DRAM: 64MB
> > *** Warning - bad CRC, using default environment
> >
> > Destroy Hash Table: 0c7d6e18 table = (null)
> > Create Hash Table: Nw
> > INSERT: table 0c7d6e18, filled 1/79 rv 0c780134 => name="bootargs"
> > value="console=ttySC0,115200 earlyprintk=serial ignore_loglevel"
> > INSERT: table 0c7d6e18, filled 2/79 rv 0c780080 => name="baudrate"
> > value="115200"
> > INSERT: table 0c7d6e18, filled 3/79 rv 0c780110 => name="loadaddr"
> > value="0x0C200000"
> > INSERT: free(data = 0c77ffb8)
> > INSERT: done
> > fwc addr 20000000 cmd f0 00f0 16bit x 16 bit
> > fwc addr 2000aaaa cmd aa 00aa 16bit x 16 bit
> > fwc addr 20005554 cmd 55 0055 16bit x 16 bit
> > fwc addr 2000aaaa cmd 90 0090 16bit x 16 bit
> > fwc addr 20000000 cmd f0 00f0 16bit x 16 bit
> > JEDEC PROBE: ID bf 236c 0
> > Found JEDEC Flash: SST 39VF6402B
> > unlock address index 1
> > unlock addresses are 0x555/0x2aa
> > erase_region_count = 128 erase_region_size = 65536
> > flash_protect ON: from 0x20000000 to 0x2001FFFF
> > protect on 0
> > protect on 1
> > flash_protect ON: from 0x20020000 to 0x2002FFFF
> > protect on 2
> > FLASH: 8MB
> > In: serial
> > Out: serial
> > Err: serial
> > => loady
> > ## Ready for binary (ymodem) download to 0x0C200000 at 115200 bps...
> > C/0(CAN) packets, 3 retries
> > ## Total Size = 0x000ee3a8 = 975784 Bytes
> > => iminfo
> >
> > ## Checking Image at 0c200000 ...
> >
> > Legacy image found
> > Image Name: Linux-2.6.37+
> > Image Type: SuperH Linux Kernel Image (gzip compressed)
> > Data Size: 975720 Bytes = 952.9 KiB
> > Load Address: 0c001000
> > Entry Point: 0c002000
> > Verifying Checksum ... OK
> >
> > => bootm
> > * kernel: default image load address = 0x0c200000
> > ## Booting kernel from Legacy Image at 0c200000 ...
> >
> > Image Name: Linux-2.6.37+
> > Image Type: SuperH Linux Kernel Image (gzip compressed)
> > Data Size: 975720 Bytes = 952.9 KiB
> > Load Address: 0c001000
> > Entry Point: 0c002000
> > Verifying Checksum ... OK
> > kernel data at 0x0c200040, len = 0x000ee368 (975720)
> >
> > ## No init Ramdisk
> >
> > ramdisk start = 0x00000000, ramdisk end = 0x00000000
> > Uncompressing Kernel Image ... OK
> > kernel loaded at 0x0c001000, end = 0x0c1af9fc
> >
> > CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.4 | VT102 |
> >
> > Offline
> >
> > On Tuesday 18 January 2011 17:53:48 you wrote:
> > > => iminfo
> > > Unknown command 'iminfo' - try 'help'
> > >
> > >
> > >
> > > Here's my output of uboot when booting:
> > >
> > > U-Boot 2010.03 (Nov 29 2010 - 12:56:47)
> > >
> > > CPU: SH4
> > > BOARD: ecovec
> > > DRAM: 256MB
> > > FLASH: 64MB
> > > In: serial
> > > Out: serial
> > > Err: serial
> > > Net: sh_eth
> > > => tftp;bootm
> > > 100Base/Full
> > > Using sh_eth device
> > > TFTP from server 192.168.10.30; our IP address is 192.168.10.31
> > > Filename '/rootfs/boot/uImage'.
> > > Load address: 0x89000000
> > > Loading: T
> > > #################################################################
> > > #################################################################
> > > #################################################################
> > > #################################################################
> > > #################################################################
> > > #################################################################
> > > ##########
> > > done
> > > Bytes transferred = 2047061 (1f3c55 hex)
> > > ## Booting kernel from Legacy Image at 89000000 ...
> > >
> > > Image Name: Linux-2.6.35
> > > Image Type: SuperH Linux Kernel Image (gzip compressed)
> > > Data Size: 2046997 Bytes = 2 MB
> > > Load Address: 88001000
> > > Entry Point: 88002000
> > > Verifying Checksum ... OK
> > > Uncompressing Kernel Image ... OK
> > >
> > > Linux version 2.6.35 (user@ubuntu) (gcc version 4.4.1 (Sourcery G++
> > > Lite 4.4-200) ) #1 PREEMPT Wed Dec 15 14:38:22 GMT 2010
> > > Boot params:
> > > ... MOUNT_ROOT_RDONLY - 00000000
> > > ... RAMDISK_FLAGS - 00000000
> > > ... ORIG_ROOT_DEV - 00000000
> > > ... LOADER_TYPE - 00000000
> > > ... INITRD_START - 00000000
> > > ... INITRD_SIZE - 00000000
> > > Memory limited to 248MB
> > > Booting machvec: R0P7724 (EcoVec)
> > > Node 0: start_pfn = 0x8000, low = 0x17800
> > >
> > > Zone PFN ranges:
> > > Normal 0x00008000 -> 0x00017800
> > >
> > > Movable zone start PFN for each node
> > > early_node_map[1] active PFN ranges
> > >
> > > 0: 0x00008000 -> 0x00017800
> > >
> > > Built 1 zonelists in Zone order, mobility grouping on. Total pages:
> > 62992
> >
> > > Kernel command line: console=ttySC0,115200 root=/dev/nfs
> > > nfsroot\x192.168.10.30:/tftpboot/rootfs ip\x192.168.10.31 mem$8M
> > > memchunk.vpu=8m memchunk.veu0=4m memchunk.beu0=4m memchunk.vpu=8m
> > > memchunk.veu0=4m memchunk.beu0=4m
> > > PID hash table entries: 1024 (order: 0, 4096 bytes)
> > >
> > >
> > > ... other bits...
> >
> > --
> > Ing. Fabio Giovagnini
> >
> > Aurion s.r.l.
> > P.I e C.F.
> > 00885711200
> > skype: aurion.giovagnini
> > Tel. +39.051.594.78.24
> > Fax. +39.051.082.14.49
> > Cell. +39.335.83.50.919
> > www.aurion-tech.com
--
Ing. Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
` (6 preceding siblings ...)
2011-01-19 8:42 ` Fabio Giovagnini
@ 2011-01-19 9:01 ` Phil Edworthy
2011-01-19 21:52 ` Fabio Giovagnini
8 siblings, 0 replies; 10+ messages in thread
From: Phil Edworthy @ 2011-01-19 9:01 UTC (permalink / raw)
To: linux-sh
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 1041 bytes --]
Fabio,
> I found this document:
> http://www.stlinux.com/u-boot/mkimage/kernel-images
>
> and following its instructions I found:
> $ sh-uclinux-objdump -f vmlinux | grep '^start address ' | awk '{print
> $3}'
>
> and I got
> 0x0c800000
>
> According to the document it should be the execute address ( I undestand
> it is
> the entry point).
>
> If I execute the command:
> $ sh-uclinux-objdump -f vmlinux | grep .empty_zero_page | awk '{print $4}'
>
> Nothing happen, as this symbol is not into the header.
>
> When I run make uImage the results are different as wrote in precedent
> emails.
> Could be this the problem?
> How can I set the load address if no .empty_zero_page info I have?
I'm not sure why you are trying to manually create a uImage. The page you
linked says that you can use the "make uImage" capability of the kernel and
from the information you provided earlier, this builds fine.
Phil
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þÈÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Booting kernel 2.6.37+ for renesas sh on sh2a 7203
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
` (7 preceding siblings ...)
2011-01-19 9:01 ` Phil Edworthy
@ 2011-01-19 21:52 ` Fabio Giovagnini
8 siblings, 0 replies; 10+ messages in thread
From: Fabio Giovagnini @ 2011-01-19 21:52 UTC (permalink / raw)
To: linux-sh
Hi Paul,
could you write to me please:
1) printenv of your u-boot on rsk+ 7203 you have;
2) bootm report wen you run the uImage?
I'm sure now that the kernel is properly executed but the output is not on
ttySC0.
What could I check.
Sorry for teh disturb and thanks a lot
Cheers
On Monday 17 January 2011 09:55:28 Paul Mundt wrote:
> On Mon, Jan 17, 2011 at 09:55:15AM +0100, Fabio Giovagnini wrote:
> > Thanks Paul for your answer.
> > Did you use uBoot for booting, or the MCP data bootloader?
>
> The only boards I have all have uboot on them. The uboot version I use is
> a bit buggy though so I often have to use trimmed down kernels for the
> decompression to succeed (Iwamatsu-san did the initial port as I recall,
> and I don't think its had much attention since then). I'm unaware of
> whether other versions of the board have the same issues or not. I've
> never seen the MPC loader, so if you're using that then of course you
> will have to ask them for support.
--
Ing. Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-01-19 21:52 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-16 16:39 Booting kernel 2.6.37+ for renesas sh on sh2a 7203 Fabio Giovagnini
2011-01-17 8:42 ` Paul Mundt
2011-01-17 8:55 ` Fabio Giovagnini
2011-01-17 8:55 ` Paul Mundt
2011-01-17 21:30 ` Fabio Giovagnini
2011-01-18 0:28 ` Paul Mundt
2011-01-18 15:10 ` Fabio Giovagnini
2011-01-19 8:42 ` Fabio Giovagnini
2011-01-19 9:01 ` Phil Edworthy
2011-01-19 21:52 ` Fabio Giovagnini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.