Page 2 of 4

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 4:59 pm
by Mkò
sbav1 wrote: BTW: I can't find "dtv_bml_aquila" file anywhere in Firenze 2011 onboot sources (?). There were two (slightly different) releases of this code from Samsung I'm aware of; perhaps you have some different version?
Some time ago i've download from samsung oss site the onboot sources file named onboot.zip
in it there are all onboot sources for all platforms, all excluded the valencia! damn.
in it there is a makefile and the sources for
onboot-src-EchoB
onboot-src-EchoP
onboot-src-Firenze2011
onboot-src-Firenze2012
onboot-src-GenoaP
onboot-src-GenoaS
the dtv_bml_aquila is present in
onboot-src-Firenze2011
onboot-src-Firenze2012
onboot-src-GenoaP
onboot-src-GenoaS
I think (but not sure) all models with arm cpu and more of 128mb memory
Now we know that the boardtype with 128mb memory are for tv with basically functions such as t-val6deuc that don't have internet@tv functions
i think that Valencia is the platform, T-valdeuc fw, sdp92 is processor, and aquila is the name of the BOARDTYPE
such as we have Genoa, gas-gapdeuc fw, SDP1001,SDP1002 are processors and genoaP genoaS are the name of the boardtype
because in onboot sources there are
dtv_bml_128mb -- maybe for tv mstar cpus
dtv_bml_aquila -- for all valencia platform LCD and LED
dtv_bml_corona -- is for bd player
dtv_bml_genoa -- is for d series
plus the genoa uboot is available with the firmware update by samsung
so bml 128 not for valencia valencia has more memory
corona is for sdp83 bd player
genoa is available
so i think that dtv_bml_aquila is for building onboot for c series in this file there are mapping of partitions that match with the default partitions of my tv.
no the uboot sources that i've are 4.295.723 and not 4 259 723.
the uc630 has valdeuc fw i check so maybe the sources are right.
I download every c series files from oss site to find sources for c series but in the zip i only find the how to build instructions for uboot but not uboot sources except in this.

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 5:01 pm
by Mkò
juuso wrote:I think I have default config for Valencia...
Done but there is a problem at point 5 (viewtopic.php?f=49&t=5999) vdlp_version.h is missing from my kernel sources so what's next step?

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 5:34 pm
by juusso
For your information:
i requested sources for D series onboot from samsung and they released it. We compiled onboot, made signature as required and i flashed on my spare UE40D6500 board. Result - bricked TV. Pretty sure we done everything ok, so reason for brick - not complete faked sources. That`s about how far we can trust samsung. Sure i wrote back to opensource and guess what - i got 0 answer anymore.

vdlp_version is used for e/f series to set modules version. I don`t remember that there are more than one modules version in c series, so - not needed at all.

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 6:07 pm
by Mkò

Code: Select all

cd opt
cd src
make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le_20091117- oldconfig
everything seems be ok

Code: Select all

make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le_20091117- prepare
"make: arm_v7_vfp_le_20091117-gcc: command not found"
hot to solve this?
why do you need to recompile uboot of d series? is release with fimware update and you get access to prompt in d series
In c series instead no uboot, no access to prompt, c series is a mystery d series is all know.
maybe you have to explore the "get secure boot authentication" in tdm. have you try?

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 6:20 pm
by juusso
have you exported path of your toolchain? No?
btw, your gcc is not arm_v7_vfp_le_20091117-gcc, but arm_v7_vfp_le-gcc, so your command should be like...

Code: Select all

make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- oldconfig
make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- prepare scripts
make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- uImage modules
or so...

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 7:09 pm
by Mkò
juuso wrote:have you exported path of your toolchain? No?
btw, your gcc is not arm_v7_vfp_le_20091117-gcc, but arm_v7_vfp_le-gcc, so your command should be like...

Code: Select all

make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- oldconfig
make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- prepare scripts
make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- uImage modules
or so...
i need the directory tree to understand because name of folders sucks and are different
and i don't know if i export the path or not
the command export PATH=$PATH:/opt/arm_v7_vfp_le/bin do nothing
i've in opt dir:
arm_v7_vfp_le dir and src dir
with yopur command i get this error:

Code: Select all

root@sam-virtual-machine:/opt/src/linux# make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- prepare scripts
make: arm_v7_vfp_le-gcc: command not found
scripts/kconfig/conf -s arch/arm/Kconfig
kernel/power/Kconfig:375:warning: choice values currently only support a single prompt
kernel/power/Kconfig:381:warning: choice values currently only support a single prompt
kernel/power/Kconfig:363:warning: choice values currently only support a single prompt
kernel/power/Kconfig:369:warning: choice values currently only support a single prompt
make: arm_v7_vfp_le-gcc: command not found
  CHK     include/linux/version.h
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-sdp
make[1]: "include/asm-arm/mach-types.h" is updated.
  CHK     include/linux/utsrelease.h
  CC      arch/arm/kernel/asm-offsets.s
/bin/sh: 1: arm_v7_vfp_le-gcc: not found
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127
make: *** [prepare0] Error 2
root@sam-virtual-machine:/opt/src/linux# 

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 7:24 pm
by juusso
Problem is your path to arm_v7_vfp_le-gcc . Try to use full path to compiller in commandline eg

Code: Select all

make ARCH=arm CROSS_COMPILE=/opt/arm_v7_vfp_le/bin/arm_v7_vfp_le- prepare scripts

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 8:25 pm
by Mkò
I need the directories tree
the svn command create 2 directories:
1 -arm_v7_vfp_le_20091117 and in this
1.a - arm_v7_vfp_le_20091117 and in this there are:
armv7fl-montavista-linux-gnueabi and other dir

Code: Select all

home/arm_v7_vfp_le_20091117/arm_v7_vfp_le_20091117/armv7fl-montavista-linux-gnueabi ...
so i don't undestand if the directories are arm_v7_vfp_le_20091117
why the path that i've to export is arm_v7_vfp_le ?
can i delete some double directories one of the two arm_v7_vfp_le_20091117 ?
maybe is more simple if the svn command create only one directory called "arm_v7_vfp_le" so people can just copy it to opt dir and then export path with

Code: Select all

echo 'export PATH=$PATH:opt/arm_v7_vfp_le/bin' >> ~/.bashrc
tommorow i try again and again i wanna achieve this.
thanks for yor help and patience.

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 8:32 pm
by Mkò
juuso wrote:Problem is your path to arm_v7_vfp_le-gcc . Try to use full path to compiller in commandline eg

Code: Select all

make ARCH=arm CROSS_COMPILE=/opt/arm_v7_vfp_le/bin/arm_v7_vfp_le- prepare scripts
Same error

Code: Select all

root@sam-virtual-machine:/opt/src/linux# make ARCH=arm CROSS_COMPILE=/opt/arm_v7_vfp_le/bin/arm_v7_vfp_le- prepare scripts
make: /opt/arm_v7_vfp_le/bin/arm_v7_vfp_le-gcc: command not found
scripts/kconfig/conf -s arch/arm/Kconfig
kernel/power/Kconfig:375:warning: choice values currently only support a single prompt
kernel/power/Kconfig:381:warning: choice values currently only support a single prompt
kernel/power/Kconfig:363:warning: choice values currently only support a single prompt
kernel/power/Kconfig:369:warning: choice values currently only support a single prompt
make: /opt/arm_v7_vfp_le/bin/arm_v7_vfp_le-gcc: command not found
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-sdp
  Generating include/asm-arm/mach-types.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC      arch/arm/kernel/asm-offsets.s
/bin/sh: 1: /opt/arm_v7_vfp_le/bin/arm_v7_vfp_le-gcc: not found
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127
make: *** [prepare0] Error 2
root@sam-virtual-machine:/opt/src/linux# 

Re: U-boot sources from c series find how to cross-compile i

Posted: Sun Aug 18, 2013 8:35 pm
by juusso
what says

Code: Select all

/opt/arm_v7_vfp_le/bin/arm_v7_vfp_le-gcc -v
?

and is there valid binary? Check your path.