[U-Boot-Users] compatibility of uboot 1.1.1 with the linux 2.6.11.3 or linux 2.6.x kernels

prafulla chandra vejendla v.prafulla at gmail.com
Tue Mar 7 10:05:47 CET 2006


Hi
linux 2.4.x or linux 2.6.x means the linux 2.4 kernel series such as linux
2.4.20,linux 2.4.21........... and so on similarly for linux 2.6.x means
linux 2.6.8 or linux 2.6.9,2.6.11 etc.............
here i am providing the steps i followed while building the kernel :-
*1) building tool chain*
                            # cd  /
                             #tar -xjvf /home/prafulla/arm-
linux-gcc-3.4.1.tar.bz2
                             #export PATH=/usr/local/arm/3.4.1/bin:$PATH
 *2)building kernel*
                             #cd usr/src
                             #tar -xjvf /home/guest/prafu/linux-
2.6.11.3.tar.bz2
                             #cp /home/guest/prafu/patch-
2.6.11-rc3-omap1.bz2  ./
                             #bunzip2 patch-2.6.11-rc3-omap1.bz2
                             #cd linux-2.6.11.3
                             #cat ../patch-2.6.11-omap1 | patch -p1
                             #make clean
                             #make omap-osk-5912-defconfig
                             #make menuconfig
                             #make
    #arm-linux-objcopy -O binary -R .note -R .comment -S
arch/arm/boot/compressed/vmlinux linux.bin
#gzip -9 linux.bin
#u-boot-1.1.1/tools/mkimage -A arm -O linux -T kernel -C gzip -a
0x10000000 -e 0x10000000 -n 'linux kernel image' -d linux.bin.gz uImage.cc
/
/
/
 once made this i have downloaded this image to the board by using the *kermit
protocol through hyperterminal* . and in uboot i used the command *loadb
0x10000000*
*here my bootargs are *
*console=ttyS0,115200n8 noinitrd rw ip=off root=/dev/mtdblock4 mem=30M *
afterthat i copied to the flash using cp.b 0x10000000 0x100000
memory location in flash .
and used *bootm 0x100000*
then afterthat i got the *bad crc error*
is this information is sufficient or if u want i can provide my
configuration details also .
is the configuration of kernel is dependent on u-boot. how it will effect ??
what is the effect of bootargs on kernel?? is there any relation between the
bootargs and the bad crc check error ??
-- prafulla chandra.


On 3/7/06, Wolfgang Denk <wd at denx.de> wrote:
>
> In message <26d3a31c0603062047h7ce9539epe61b69100b784362 at mail.gmail.com>
> you wrote:
> >
> > my doubt is* can i use the same uboot 1.1.1 for any kernal i.e for linux
> > 2.4.x or for linux 2.6.x* .is that version is compatible .*in the omap
> ti
>
> Normally you can. There is nothing in  U-Boot  which  would  make  it
> specifically dependent on a kernel version; on contrary, we try to be
> as generic as possible.
>
> > page they mentioned if u are using linux2.6.x then u should use uboot
> 1.1.2.
> > *
> > *why is it so *.
>
> We don't know this kernel tree ... Ask the guys who wrote such a
> comment.
>
> > what would be the* problem if i use inbuilt uboot 1.1.1 for my board for
> > linux2.6.x??*
>
> We don't know your kernel tree or what it expects.
>
> On the other hand, I've been  using  old  versions  of  U-Boot  (like
> 0.4.0) with 2.6 kernels without any problems.
>
> > * is that error " bad crc error "  due to that only ?? or due to any
> other
> > factor* .
>
> We could be more helpful if you provided  more  information,  like  a
> *comple*  log  of  your  comands and all output. I speculate that you
> don't use a correct U-Boot image at al. What exact command do you use
> to build the kernel image, and what are the  last  20...30  lines  of
> output of this command?
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "One planet is all you get."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060307/33538518/attachment.htm 


More information about the U-Boot mailing list