Page 4 of 4
Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 9:10 am
by Mkò
juuso wrote:rename this config to .config and copy it to .config.old on root of your sources. I think it is good for all valencia devices.
try ubuntu vmware image.
No .config.old on root of my sources.
Code: Select all
[root@localhost linux]# ls -a
. fs ltt net
.. .gitignore .mailmap patched
arch include MAINTAINERS README
block init Makefile REPORTING-BUGS
.config ipc mkcscope.sh samples
.config.valdeuc Kbuild mm scripts
COPYING kernel Module.markers security
CREDITS koS .mvl_cross_compile sound
crypto lib mvl_patches usr
Documentation localversion .mvl_target_cpu
drivers localversion-mvl .mvl_target_installdir
Code: Select all
[root@localhost linux]# ls -a
. fs ltt net
.. .gitignore .mailmap patched
arch include MAINTAINERS README
block init Makefile REPORTING-BUGS
.config ipc mkcscope.sh samples
.config.old Kbuild mm scripts
COPYING kernel Module.markers security
CREDITS koS .mvl_cross_compile sound
crypto lib mvl_patches usr
Documentation localversion .mvl_target_cpu
drivers localversion-mvl .mvl_target_installdir
Code: Select all
[root@localhost linux]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kerino/bin:/opt/T-VAL/arm_v7_vfp_le/bin
[root@localhost linux]# make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- oldconfig HOSTCC scripts/basic/fixdep
/bin/sh: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2
[root@localhost linux]# make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- prepare scripts
HOSTCC scripts/basic/fixdep
/bin/sh: gcc: command not found
make[2]: *** [scripts/basic/fixdep] Error 127
make[1]: *** [scripts_basic] Error 2
CHK include/linux/version.h
make: *** No rule to make target `include/config/auto.conf', needed by `include/asm-arm/.arch'. Stop.
[root@localhost linux]#
et voil? same error again.
Thank for your help.
Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 9:32 am
by juusso
1. you have to rename it to .config.old (use my attached config file)
2. are you sure your gcc is ok??? maybe you dont have it installed on your system (i mean native gcc, not cross-from-svn)
I can`t help you here. I`m not familar with centos. Use ubuntu...
Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 9:43 am
by Mkò
juuso wrote:1. you have to rename it to .config.old (use my attached config file)
2. are you sure your gcc is ok??? maybe you dont have it installed on your system (i mean native gcc, not cross-from-svn)
I can`t help you here. I`m not familar with centos.
so i have to install native gcc but i can't find the version 4.2.0 and from c8000.zip from oss samsung sites the gcc files are missing.
i find only version 4.1.2-54.el5 do you think this work too?
Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 9:49 am
by juusso
you have to install gcc which belongs to your centos. Don`t mess with samsung sources - they`re for cross-compilation.

Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 10:45 am
by Mkò
juuso wrote:you have to install gcc which belongs to your centos. Don`t mess with samsung sources - they`re for cross-compilation.

Finally it works for compiling the kernel but i get error with make menuconfig
Code: Select all
LD vmlinux
SYSMAP System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
[root@localhost linux]# make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ?chtype?
scripts/kconfig/lxdialog/dialog.h:187: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:194: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:199: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/dialog.h:201: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ?)? before ?*? token
scripts/kconfig/lxdialog/checklist.c: In function ?dialog_checklist?:
scripts/kconfig/lxdialog/checklist.c:116: error: ?WINDOW? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:116: error: ?dialog? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: ?list? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function ?getmaxy?
scripts/kconfig/lxdialog/checklist.c:129: error: ?stdscr? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: ?KEY_MAX? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function ?getmaxx?
scripts/kconfig/lxdialog/checklist.c:137: error: ?COLS? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: ?LINES? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit declaration of function ?draw_shadow?
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of function ?newwin?
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ?keypad?
scripts/kconfig/lxdialog/checklist.c:143: error: ?TRUE? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ?draw_box?
scripts/kconfig/lxdialog/checklist.c:146: error: ?struct dialog_color? has no member named ?atr?
scripts/kconfig/lxdialog/checklist.c:146: error: ?struct dialog_color? has no member named ?atr?
scripts/kconfig/lxdialog/checklist.c:147: warning: implicit declaration of function ?wattrset?
scripts/kconfig/lxdialog/checklist.c:147: error: ?struct dialog_color? has no member named ?atr?
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ?mvwaddch?
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ?waddch?
scripts/kconfig/lxdialog/checklist.c:151: error: ?struct dialog_color? has no member named ?atr?
scripts/kconfig/lxdialog/checklist.c:154: warning: implicit declaration of function ?print_title?
scripts/kconfig/lxdialog/checklist.c:156: error: ?struct dialog_color? has no member named ?atr?
scripts/kconfig/lxdialog/checklist.c:157: warning: implicit declaration of function ?print_autowrap?
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of function ?subwin?
scripts/kconfig/lxdialog/checklist.c:171: error: ?struct dialog_color? has no member named ?atr?
scripts/kconfig/lxdialog/checklist.c:171: error: ?struct dialog_color? has no member named ?atr?
scripts/kconfig/lxdialog/checklist.c:189: warning: implicit declaration of function ?print_item?
scripts/kconfig/lxdialog/checklist.c:192: warning: implicit declaration of function ?print_arrows?
scripts/kconfig/lxdialog/checklist.c:195: warning: implicit declaration of function ?print_buttons?
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ?wnoutrefresh?
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function ?doupdate?
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ?wgetch?
scripts/kconfig/lxdialog/checklist.c:210: error: ?KEY_UP? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: ?KEY_DOWN? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: ?FALSE? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of function ?scrollok?
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function ?wscrl?
scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of function ?wrefresh?
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function ?delwin?
scripts/kconfig/lxdialog/checklist.c:297: error: ?KEY_LEFT? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: ?KEY_RIGHT? undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of function ?on_key_esc?
scripts/kconfig/lxdialog/checklist.c:312: error: ?KEY_RESIZE? undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2
[root@localhost linux]#
thanks

Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 11:00 am
by juusso
you need libncurses-dev to have pre-installed to use menuconfig...
edit: for centos it is ncurses-devel
p.s. can you use google?

Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 4:00 pm
by Mkò
juuso wrote:you need libncurses-dev to have pre-installed to use menuconfig...
edit: for centos it is ncurses-devel
p.s. can you use google?

you are right.
After i post the last thread i resolve the problem with google but it was too late to edit it again.
kernel compiled with success. thanks.
i think i write a guide for other users of forum so maybe we start to compile or port more app for c series.
Re: U-boot sources from c series find how to cross-compile i
Posted: Thu Aug 29, 2013 4:35 pm
by juusso
Mk? wrote:i think i write a guide for other users of forum...
This is one of not written rules of SamyGO - learn things by your self and share your experience to others. Thank you
Mk? wrote:...so maybe we start to compile or port more app for c series.
This would be really great! Especially now, because now we can inject code to exeDSP with memjack like we did this in B series with injectso or gdb. Any development for C (and any...) series is very welcome

Re: U-boot sources from c series find how to cross-compile i
Posted: Wed Sep 11, 2013 2:25 pm
by Mkò
Update: I try to compile the uboot sources of le40c630 that i've but the configs files are missing so impossible to compile it. when i have more time i try to compile the uboot sources from denx but it's difficult without config files... so no uboot for c series.
but i still think that acquila config files are for c series valdeuc family (Valencia) sdp92
i find also the SDP92 valencia - porting layer for bootloader.
the Barcellona instead is sdp83 and it's not a tv products.
i think that arm processors is relabelled by samsung but its impossible to understand what model is, i find a samsung develop board with arm cortex a8 processors online that seems similiar to the tv ones but i'm not sure.
If anyone as more info please share here.
Also try to dissamble my tv but i can't remove some screw...arghh
