Again thanks for your reply , the board we are using is Nitrogen 6X ,now the size of our uncompressed file is 4.2MB and compressed is 1.8 MB , the RAM base address of our board is 0x10000000 and RAM size is 0x40000000 , we tried booting by assigning load address as 0x10001000 and the entry point as 10001000 and tftp 0x10800000 . We are stuck at starting kernel
Bytes transferred = 1829585 (1bead1 hex)
U-Boot > bootm ## Booting kernel from Legacy Image at 10800000 ... Image Name: Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 1829521 Bytes = 1.7 MiB Load Address: 10001000 Entry Point: 10005d70 Verifying Checksum ... OK Uncompressing Kernel Image ... OK
Starting kernel ...
Any Idea what the problem is ?
On Sat, Jul 13, 2013 at 2:36 AM, Frank Kaiser <frank.kaiser@...24...>wrote:
[image: Boxbe] https://www.boxbe.com/overview This message is eligible for Automatic Cleanup! (frank.kaiser@...24...) Add cleanup rulehttps://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DJ2yCAOP%252Fon9av%252FfjYiO%252FPLVDqfuHm8Hvb%252B84zy9fsuHzf3vsbfp3gx4cWaW6TqJXBvOCSM0zQdHwBTTv5s%252FltbnPHNfhaGxlsEyOquxqU4Zs89fwZneWwsED8qlIN6uyn3POSXwP%252FETOGEZ6YUEq8w%253D%253D%26key%3Dz9t%252BxRBLK5AnBu%252FQZl70k70LeDE%252BvAJpTq5q79Otu8w%253D&tc_serial=14613466892&tc_rand=831592992&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001| More infohttp://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=14613466892&tc_rand=831592992&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
Archie Nidhi schrieb:
Hi thanks for the reply,I am Archie working with Aditya on this . We use your reprository and then followed the steps given in https://github.com/genodelabs/genode/commit/ce58a63fb661df42e6bf283891589b11... ,https://github.com/genodelabs/genode/commit/ce58a63fb661df42e6bf283891589b11a1f411f2#commitcomment-2891606for creating uImage .
And then booted using tftp with this.
# either 'dhcp' or 'setenv ipaddr xxx.xxx.xxx.xxx' # 'setenv serverip xxx.xxx.xxx.xxx' as long it isn't set via DHCP # 'tftp 0x70800000 [path_to_uimage]/uImage' # 'bootm 0x70800000'
Now the error we are getting in this is
Using FEC device TFTP from server 10.6.1.123; our IP address is 10.6.1.122 Filename 'uImage'. Load address: 0x10800000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################# done Bytes transferred = 1829585 (1bead1 hex) U-Boot > bootm ## Booting kernel from Legacy Image at 10800000 ... Image Name: Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 1829521 Bytes = 1.7 MiB Load Address: 70140000 Entry Point: 7018b33c Verifying Checksum ... OK Uncompressing Kernel Image ...
Any Ideas where we might be going wrong?
Hello, Archie
Which type of i.MX6 board are you using? The load address 0x70140000 of your boot image assumes that your board supports 2 GB of RAM (physical address range 0x10000000 to 0x8FFFFFFF). AFAIK not all i.MX6 boards have that much memory, others come with 1 GB instead (physical address range 0x10000000 to 0x4FFFFFFF). In that case you have to modify the build scripts so that the löad address is set to 0x40140000 and the entry point to 0x4018b33c (or other values which fit into the 1 GB range).
Frank
See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clk...
Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello, Archie
When you download the image to 0x10800000 and the load address is 0x10001000 with an uncompressed size of 4.2 MB, then bootm should not run into an address overlap while unpacking the image, because the unpacked data should end below 0x10500000. You could set the download address higher, if there is doubt, but you have to avoid the address range where the bootloader is running
There are many other pitfalls you could run into:
* Is the board’s physical address range correctly setup in the image?
* Is the UART port where you want to receive console messages correctly setup in the image?
* Is the corrrect interrupt controller chosen in the image (GIC 1.0, not TZIC)?
* Are other relevant HW resources (IO memory addresses) correctly configured?
At least check that the platform adaption to your board is complete and correct.
Frank
From: Archie Nidhi [mailto:anubhavnidhi1009@...9...] Sent: Sunday, July 14, 2013 7:45 AM To: Genode OS Framework Mailing List Subject: Re: Porting on i.MX6
Again thanks for your reply , the board we are using is Nitrogen 6X ,now the size of our uncompressed file is 4.2MB and compressed is 1.8 MB , the RAM base address of our board is 0x10000000 and RAM size is 0x40000000 , we tried booting by assigning load address as 0x10001000 and the entry point as 10001000 and tftp 0x10800000 . We are stuck at starting kernel
Bytes transferred = 1829585 (1bead1 hex)
U-Boot > bootm ## Booting kernel from Legacy Image at 10800000 ... Image Name: Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 1829521 Bytes = 1.7 MiB Load Address: 10001000 Entry Point: 10005d70 Verifying Checksum ... OK Uncompressing Kernel Image ... OK
Starting kernel ...
Any Idea what the problem is ?