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

Hi all , i am involved in building up the linux kernel on osk5912 board. for that i am using the linux 2.6.11.3 kernel with the u boot 1.1.1. once i flashed into the kernal to memory i am getting the crc check error as bad crc check why is it so ?? i am suspecting that whether the uboot 1.1.1compatibility with the linux 2.6.11.3 thanks in advance -- prafulla chandra.

Hi,
once i flashed into the kernal to memory i am getting the crc check error as bad crc check why is it so ??
Did you call "saveenv"? You will always get the crc check error, if you don't save your environment.
Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
And please don't post HTML on this list!
Bye, Thomas

Hi, i havent changed any environment variable before and after the download to save the environment . before that i set the ipaddress and ethernet attress and serverip parameters i saved those variables before itself. 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 page they mentioned if u are using linux2.6.x then u should use uboot 1.1.2. * *why is it so *. what would be the* problem if i use inbuilt uboot 1.1.1 for my board for linux2.6.x??* * is that error " bad crc error " due to that only ?? or due to any other factor* . please let me know ... thanks in advance -prafulla
On 3/6/06, Thomas Stark Thomas.W.Stark@informatik.stud.uni-erlangen.de wrote:
Hi,
once i flashed into the kernal to memory i am getting the crc check error as bad crc check why is it so ??
Did you call "saveenv"? You will always get the crc check error, if you don't save your environment.
Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
And please don't post HTML on this list!
Bye, Thomas

In message 26d3a31c0603062047h7ce9539epe61b69100b784362@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

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@denx.de wrote:
In message 26d3a31c0603062047h7ce9539epe61b69100b784362@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@denx.de "One planet is all you get."

In message 26d3a31c0603070105x7e8a73dcp8066fe7e183ddd6@mail.gmail.com you wrote:
#make omap-osk-5912-defconfig #make menuconfig #make
Normally you should be able to just type "make uImage" here.
#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
You are sure that 0x10000000 is the correct load and entry point addresses?
protocol through hyperterminal* . and in uboot i used the command *loadb 0x10000000*
This CANNOT work. You cannot download the image to the same address range where U-Boot is supposed to uncompress and copy the code to!
and used *bootm 0x100000* then afterthat i got the *bad crc error*
I recommend that (1) you verify that your image on the host system is OK by running "mkimage -l uImage.cc", and (2) you verify that the downloaded image is still ok by running "iminfo".
is this information is sufficient or if u want i can provide my configuration details also .
Actually I would prefer if you had just copy & pasted the real input and output from your console.
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 th> e bootargs and the bad crc check error ??
U-Boot does not even attempt to start Linux so your bootargs settings don;t play any role here.
On 3/7/06, Wolfgang Denk wd@denx.de wrote:
In message 26d3a31c0603062047h7ce9539epe61b69100b784362@mail.gmail.com you wrote:
...
Full quote deleted.
Please don't top-post / full-quote.
Content-Type: text/html; charsetÿO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
And STOP posting HTML here!
Best regards,
Wolfgang Denk

thank you very much . i did mistake in the mkimage load address. it should not be 0x10000000 i misunderstood this address with the uncompressed image load address. once again thanks to Denk........ -- prafulla chandra.
On 3/7/06, Wolfgang Denk wd@denx.de wrote:
In message 26d3a31c0603070105x7e8a73dcp8066fe7e183ddd6@mail.gmail.com you wrote:
#make omap-osk-5912-defconfig #make menuconfig #make
Normally you should be able to just type "make uImage" here.
#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
You are sure that 0x10000000 is the correct load and entry point addresses?
protocol through hyperterminal* . and in uboot i used the command *loadb 0x10000000*
This CANNOT work. You cannot download the image to the same address range where U-Boot is supposed to uncompress and copy the code to!
and used *bootm 0x100000* then afterthat i got the *bad crc error*
I recommend that (1) you verify that your image on the host system is OK by running "mkimage -l uImage.cc", and (2) you verify that the downloaded image is still ok by running "iminfo".
is this information is sufficient or if u want i can provide my configuration details also .
Actually I would prefer if you had just copy & pasted the real input and output from your console.
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
th> e
bootargs and the bad crc check error ??
U-Boot does not even attempt to start Linux so your bootargs settings don;t play any role here.
On 3/7/06, Wolfgang Denk wd@denx.de wrote:
In message <
26d3a31c0603062047h7ce9539epe61b69100b784362@mail.gmail.com>
you wrote:
...
Full quote deleted.
Please don't top-post / full-quote.
Content-Type: text/html; charsetÿO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
And STOP posting HTML here!
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de A consultant is a person who borrows your watch, tells you what time it is, pockets the watch, and sends you a bill for it.

prafulla chandra vejendla schrieb:
thank you very much . i did mistake in the mkimage load address.
And why are you still posting your messages in HTML format, although Wolfgang Denk asked you not to do so?
Regards Andreas Schweigstill
participants (4)
-
Andreas Schweigstill
-
prafulla chandra vejendla
-
Thomas Stark
-
Wolfgang Denk