All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Automate uboot entry/load addresses detection.
@ 2009-01-30 12:37 Ihar Hrachyshka
  2009-01-30 12:57 ` Graeme Gregory
  2009-02-03 11:02 ` Ihar Hrachyshka
  0 siblings, 2 replies; 12+ messages in thread
From: Ihar Hrachyshka @ 2009-01-30 12:37 UTC (permalink / raw)
  To: openembedded-devel

Automated UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables detection (no
need to specify them for every machine and/or kernel now).

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
---
 classes/kernel.bbclass |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index d1f59e5..f7a7014 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -69,10 +69,6 @@ KERNEL_LOCALVERSION ?= ""
 # kernels are generally machine specific
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-# U-Boot support
-UBOOT_ENTRYPOINT ?= "20008000"
-UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
-
 kernel_do_compile() {
 	if [ ! -z "${INITRAMFS_IMAGE}" ]; then
 		cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz" initramfs.cpio.gz
@@ -489,12 +485,16 @@ do_deploy() {
 	if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then 
 		if test -e arch/${ARCH}/boot/compressed/vmlinux ; then
 			${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
+			UBOOT_LOADADDRESS=`${OBJDUMP} -p arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
+			UBOOT_ENTRYPOINT=`${OBJDUMP} -f arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
 			uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
 			rm -f linux.bin
 		else
 			${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
 			rm -f linux.bin.gz
 			gzip -9 linux.bin
+			UBOOT_LOADADDRESS=`${OBJDUMP} -p vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
+			UBOOT_ENTRYPOINT=`${OBJDUMP} -f vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
 			uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C gzip -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
 			rm -f linux.bin.gz
 		fi
-- 
1.5.6.3





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-01-30 12:37 [PATCH] Automate uboot entry/load addresses detection Ihar Hrachyshka
@ 2009-01-30 12:57 ` Graeme Gregory
  2009-02-03 11:02 ` Ihar Hrachyshka
  1 sibling, 0 replies; 12+ messages in thread
From: Graeme Gregory @ 2009-01-30 12:57 UTC (permalink / raw)
  To: openembedded-devel

Ihar Hrachyshka wrote:
> Automated UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables detection (no
> need to specify them for every machine and/or kernel now).
>
>   
Looks like a nice patch! I think this should probably go it.

Graeme




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-01-30 12:37 [PATCH] Automate uboot entry/load addresses detection Ihar Hrachyshka
  2009-01-30 12:57 ` Graeme Gregory
@ 2009-02-03 11:02 ` Ihar Hrachyshka
  2009-02-03 11:31   ` Koen Kooi
  1 sibling, 1 reply; 12+ messages in thread
From: Ihar Hrachyshka @ 2009-02-03 11:02 UTC (permalink / raw)
  To: openembedded-devel

Any chances for inclusion?

On Fri, Jan 30, 2009 at 2:37 PM, Ihar Hrachyshka
<ihar.hrachyshka@gmail.com> wrote:
> Automated UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables detection (no
> need to specify them for every machine and/or kernel now).
>
> Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
> ---
>  classes/kernel.bbclass |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
> index d1f59e5..f7a7014 100644
> --- a/classes/kernel.bbclass
> +++ b/classes/kernel.bbclass
> @@ -69,10 +69,6 @@ KERNEL_LOCALVERSION ?= ""
>  # kernels are generally machine specific
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> -# U-Boot support
> -UBOOT_ENTRYPOINT ?= "20008000"
> -UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
> -
>  kernel_do_compile() {
>        if [ ! -z "${INITRAMFS_IMAGE}" ]; then
>                cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz" initramfs.cpio.gz
> @@ -489,12 +485,16 @@ do_deploy() {
>        if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
>                if test -e arch/${ARCH}/boot/compressed/vmlinux ; then
>                        ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
> +                       UBOOT_LOADADDRESS=`${OBJDUMP} -p arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
> +                       UBOOT_ENTRYPOINT=`${OBJDUMP} -f arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
>                        uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
>                        rm -f linux.bin
>                else
>                        ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
>                        rm -f linux.bin.gz
>                        gzip -9 linux.bin
> +                       UBOOT_LOADADDRESS=`${OBJDUMP} -p vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
> +                       UBOOT_ENTRYPOINT=`${OBJDUMP} -f vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
>                        uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C gzip -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
>                        rm -f linux.bin.gz
>                fi
> --
> 1.5.6.3
>
>
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-02-03 11:02 ` Ihar Hrachyshka
@ 2009-02-03 11:31   ` Koen Kooi
  2009-03-03 15:55     ` Ihar Hrachyshka
  0 siblings, 1 reply; 12+ messages in thread
From: Koen Kooi @ 2009-02-03 11:31 UTC (permalink / raw)
  To: openembedded-devel

On 03-02-09 12:02, Ihar Hrachyshka wrote:
> Any chances for inclusion?

It looks pretty good to me, but I'd like to hear from people that tested 
it :)

regards,

Koen


> On Fri, Jan 30, 2009 at 2:37 PM, Ihar Hrachyshka
> <ihar.hrachyshka@gmail.com>  wrote:
>> Automated UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables detection (no
>> need to specify them for every machine and/or kernel now).
>>
>> Signed-off-by: Ihar Hrachyshka<ihar.hrachyshka@gmail.com>
>> ---
>>   classes/kernel.bbclass |    8 ++++----
>>   1 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
>> index d1f59e5..f7a7014 100644
>> --- a/classes/kernel.bbclass
>> +++ b/classes/kernel.bbclass
>> @@ -69,10 +69,6 @@ KERNEL_LOCALVERSION ?= ""
>>   # kernels are generally machine specific
>>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>>
>> -# U-Boot support
>> -UBOOT_ENTRYPOINT ?= "20008000"
>> -UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
>> -
>>   kernel_do_compile() {
>>         if [ ! -z "${INITRAMFS_IMAGE}" ]; then
>>                 cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz" initramfs.cpio.gz
>> @@ -489,12 +485,16 @@ do_deploy() {
>>         if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
>>                 if test -e arch/${ARCH}/boot/compressed/vmlinux ; then
>>                         ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
>> +                       UBOOT_LOADADDRESS=`${OBJDUMP} -p arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
>> +                       UBOOT_ENTRYPOINT=`${OBJDUMP} -f arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
>>                         uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
>>                         rm -f linux.bin
>>                 else
>>                         ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
>>                         rm -f linux.bin.gz
>>                         gzip -9 linux.bin
>> +                       UBOOT_LOADADDRESS=`${OBJDUMP} -p vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
>> +                       UBOOT_ENTRYPOINT=`${OBJDUMP} -f vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
>>                         uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C gzip -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
>>                         rm -f linux.bin.gz
>>                 fi
>> --
>> 1.5.6.3
>>
>>
>>





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-02-03 11:31   ` Koen Kooi
@ 2009-03-03 15:55     ` Ihar Hrachyshka
  2009-03-29 22:28       ` Andrea Adami
  0 siblings, 1 reply; 12+ messages in thread
From: Ihar Hrachyshka @ 2009-03-03 15:55 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

Bumping the thread after a month of no activity...

On Tue, Feb 3, 2009 at 1:31 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> On 03-02-09 12:02, Ihar Hrachyshka wrote:
>>
>> Any chances for inclusion?
>
> It looks pretty good to me, but I'd like to hear from people that tested it
> :)
>
> regards,
>
> Koen
>
>
>> On Fri, Jan 30, 2009 at 2:37 PM, Ihar Hrachyshka
>> <ihar.hrachyshka@gmail.com>  wrote:
>>>
>>> Automated UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables detection (no
>>> need to specify them for every machine and/or kernel now).
>>>
>>> Signed-off-by: Ihar Hrachyshka<ihar.hrachyshka@gmail.com>
>>> ---
>>>  classes/kernel.bbclass |    8 ++++----
>>>  1 files changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
>>> index d1f59e5..f7a7014 100644
>>> --- a/classes/kernel.bbclass
>>> +++ b/classes/kernel.bbclass
>>> @@ -69,10 +69,6 @@ KERNEL_LOCALVERSION ?= ""
>>>  # kernels are generally machine specific
>>>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>
>>> -# U-Boot support
>>> -UBOOT_ENTRYPOINT ?= "20008000"
>>> -UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
>>> -
>>>  kernel_do_compile() {
>>>        if [ ! -z "${INITRAMFS_IMAGE}" ]; then
>>>                cp
>>> "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz"
>>> initramfs.cpio.gz
>>> @@ -489,12 +485,16 @@ do_deploy() {
>>>        if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
>>>                if test -e arch/${ARCH}/boot/compressed/vmlinux ; then
>>>                        ${OBJCOPY} -O binary -R .note -R .comment -S
>>> arch/${ARCH}/boot/compressed/vmlinux linux.bin
>>> +                       UBOOT_LOADADDRESS=`${OBJDUMP} -p
>>> arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/LOAD.*vaddr \([^
>>> ]*\).*/\1/p'`; \
>>> +                       UBOOT_ENTRYPOINT=`${OBJDUMP} -f
>>> arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/.*start address \([^
>>> ]*\).*/\1/p'`; \
>>>                        uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel
>>> -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n
>>> "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin
>>> ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
>>>                        rm -f linux.bin
>>>                else
>>>                        ${OBJCOPY} -O binary -R .note -R .comment -S
>>> vmlinux linux.bin
>>>                        rm -f linux.bin.gz
>>>                        gzip -9 linux.bin
>>> +                       UBOOT_LOADADDRESS=`${OBJDUMP} -p vmlinux | sed -n
>>> 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
>>> +                       UBOOT_ENTRYPOINT=`${OBJDUMP} -f vmlinux | sed -n
>>> 's/.*start address \([^ ]*\).*/\1/p'`; \
>>>                        uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel
>>> -C gzip -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n
>>> "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz
>>> ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
>>>                        rm -f linux.bin.gz
>>>                fi
>>> --
>>> 1.5.6.3
>>>
>>>
>>>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-03-03 15:55     ` Ihar Hrachyshka
@ 2009-03-29 22:28       ` Andrea Adami
  2009-03-29 22:35         ` [PATCH] kernel.bbclass: " Andrea Adami
  2009-03-29 22:58         ` [PATCH] " Ihar Hrachyshka
  0 siblings, 2 replies; 12+ messages in thread
From: Andrea Adami @ 2009-03-29 22:28 UTC (permalink / raw)
  To: openembedded-devel

Hi, I've tested the patch and it seems to work.
Thanks

Andrea



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] kernel.bbclass: Automate uboot entry/load addresses detection.
  2009-03-29 22:28       ` Andrea Adami
@ 2009-03-29 22:35         ` Andrea Adami
  2009-03-29 22:58         ` [PATCH] " Ihar Hrachyshka
  1 sibling, 0 replies; 12+ messages in thread
From: Andrea Adami @ 2009-03-29 22:35 UTC (permalink / raw)
  To: openembedded-devel

---
 classes/kernel.bbclass |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 17e8941..85a2e07 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -69,10 +69,6 @@ KERNEL_LOCALVERSION ?= ""
 # kernels are generally machine specific
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-# U-Boot support
-UBOOT_ENTRYPOINT ?= "20008000"
-UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
-
 kernel_do_compile() {
 	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
 	oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}"
@@ -491,12 +487,16 @@ do_deploy() {
 	if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then 
 		if test -e arch/${ARCH}/boot/compressed/vmlinux ; then
 			${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
+			 UBOOT_LOADADDRESS=`${OBJDUMP} -p arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
+			 UBOOT_ENTRYPOINT=`${OBJDUMP} -f arch/${ARCH}/boot/compressed/vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
 			uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
 			rm -f linux.bin
 		else
 			${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
 			rm -f linux.bin.gz
 			gzip -9 linux.bin
+			 UBOOT_LOADADDRESS=`${OBJDUMP} -p vmlinux | sed -n 's/LOAD.*vaddr \([^ ]*\).*/\1/p'`; \
+			 UBOOT_ENTRYPOINT=`${OBJDUMP} -f vmlinux | sed -n 's/.*start address \([^ ]*\).*/\1/p'`; \
 			uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C gzip -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
 			rm -f linux.bin.gz
 		fi
-- 
1.6.0.6




^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-03-29 22:28       ` Andrea Adami
  2009-03-29 22:35         ` [PATCH] kernel.bbclass: " Andrea Adami
@ 2009-03-29 22:58         ` Ihar Hrachyshka
  2009-03-29 23:11           ` Andrea Adami
  1 sibling, 1 reply; 12+ messages in thread
From: Ihar Hrachyshka @ 2009-03-29 22:58 UTC (permalink / raw)
  To: openembedded-devel

Maybe I don't get it, but why do you need to send the patch on the ML
again - with your own credit stuff?

2009/3/30 Andrea Adami <andrea.adami@gmail.com>:
> Hi, I've tested the patch and it seems to work.
> Thanks
>
> Andrea
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-03-29 22:58         ` [PATCH] " Ihar Hrachyshka
@ 2009-03-29 23:11           ` Andrea Adami
  2009-03-29 23:32             ` Andrea Adami
  0 siblings, 1 reply; 12+ messages in thread
From: Andrea Adami @ 2009-03-29 23:11 UTC (permalink / raw)
  To: openembedded-devel

ehm...the Author part doesn't appear..sorry.
For the rest, I replied to my own message (and here you see it
correctly threaded:
http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-March/thread.html).

There is a problem anyway...it works if you pre-define the two
vars...otherwise these are not expanded.

uboot-mkimage -A arm -O linux -T kernel -C none -a
${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "Angstrom/2.6.26/c7x0"
-d linux.bin /oe/build/tmp/angstrom
/deploy/glibc/images/c7x0/uImage-2.6.26-r9-c7x0.bin


I need to check more thoroughly.

NACK

Sorry for the noise

Andrea



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-03-29 23:11           ` Andrea Adami
@ 2009-03-29 23:32             ` Andrea Adami
  2009-07-03 14:30               ` Ihar Hrachyshka
  0 siblings, 1 reply; 12+ messages in thread
From: Andrea Adami @ 2009-03-29 23:32 UTC (permalink / raw)
  To: openembedded-devel

uboot-mkimage -A arm -O linux -T kernel -C none -a 0x800
08000 -e 0x80008000 -n "Angstrom/2.6.26/c7x0" -d linux.bin /oe/build/tmp/angstro
m/deploy/glibc/images/c7x0/uImage-2.6.26-r9-c7x0.bin

Ok, it just works after some cleanings...silly me...
I'm not a core-dev but I tested it and you get my ack.

Acked-by: Andrea Adami (andrea.adami@gmail.com)

Regards
Andrea



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-03-29 23:32             ` Andrea Adami
@ 2009-07-03 14:30               ` Ihar Hrachyshka
  2009-07-03 22:25                 ` Andrea Adami
  0 siblings, 1 reply; 12+ messages in thread
From: Ihar Hrachyshka @ 2009-07-03 14:30 UTC (permalink / raw)
  To: openembedded-devel

Any chance for patch inclusion?

On Mon, Mar 30, 2009 at 2:32 AM, Andrea Adami<andrea.adami@gmail.com> wrote:
> uboot-mkimage -A arm -O linux -T kernel -C none -a 0x800
> 08000 -e 0x80008000 -n "Angstrom/2.6.26/c7x0" -d linux.bin /oe/build/tmp/angstro
> m/deploy/glibc/images/c7x0/uImage-2.6.26-r9-c7x0.bin
>
> Ok, it just works after some cleanings...silly me...
> I'm not a core-dev but I tested it and you get my ack.
>
> Acked-by: Andrea Adami (andrea.adami@gmail.com)
>
> Regards
> Andrea
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] Automate uboot entry/load addresses detection.
  2009-07-03 14:30               ` Ihar Hrachyshka
@ 2009-07-03 22:25                 ` Andrea Adami
  0 siblings, 0 replies; 12+ messages in thread
From: Andrea Adami @ 2009-07-03 22:25 UTC (permalink / raw)
  To: openembedded-devel

Ihar,

the patch sounds very interesting but I had issues with the version
you posted...

1) You need to ECHO out the two vars, then it 'works'
-UBOOT_LOADADDRESS=`${OBJDUMP} -p ...
+echo UBOOT_LOADADDRESS=`${OBJDUMP} -p ...

2) the values don't correspond to the mkimage parameters...(tested for
Zaurus+u-boot)

So, for the moment, NACK, my ack was premature
Still, I appreciate very much your efforts, unfortunately I have not
yet full knowledge about that matter.
Hopefully some kernel hacker will jump in...

Regards

Andrea



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-07-03 22:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 12:37 [PATCH] Automate uboot entry/load addresses detection Ihar Hrachyshka
2009-01-30 12:57 ` Graeme Gregory
2009-02-03 11:02 ` Ihar Hrachyshka
2009-02-03 11:31   ` Koen Kooi
2009-03-03 15:55     ` Ihar Hrachyshka
2009-03-29 22:28       ` Andrea Adami
2009-03-29 22:35         ` [PATCH] kernel.bbclass: " Andrea Adami
2009-03-29 22:58         ` [PATCH] " Ihar Hrachyshka
2009-03-29 23:11           ` Andrea Adami
2009-03-29 23:32             ` Andrea Adami
2009-07-03 14:30               ` Ihar Hrachyshka
2009-07-03 22:25                 ` Andrea Adami

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.