Genode on i.MX6 (eMMC Flash)
Kranthi Tej
ee13b037 at ...484...
Tue May 2 15:54:43 CEST 2017
Hello Stefan,
Thank you very much for patiently responding to all my queries. After you
have run my uImage on your board successfully, we have changed the hardware
and tried to run the uImage on it. It was working properly. I've been able
to generate the same log that you have attached in your previous email.
We wouldn't have thought of changing the device if it was not for your
help. Thanks a lot! :-)
We are successfully able to run Genode with the uImage generated with
release version as well as the one which I cloned today. This seems to be
working only when I set NR_OF_CPUS = 1. When I tried setting NR_OF_CPUS =
4, the kernel doesn't get loaded and it hangs at "Starting kernel ...". I
am not sure why this is happening.
Is it possible for you to share the boot procedure you've followed and the
details of the boot-loader? It would help us figure if the problem was with
the hardware or with the flashing procedure.
Many thanks,
Kranthi
On Tue, May 2, 2017 at 4:20 PM, Stefan Kalkowski <
stefan.kalkowski at ...1...> wrote:
> Hi Kranthi,
>
> I could boot the uImage you provided to me successfully, see below.
> Either we have slightly different variants of the same board, or the
> boot-loader does something fundamentally different, or you have some
> problem when loading the uImage correctly, so that the image gets
> corrupted.
>
> Sorry, at the moment I do not have another idea, because I cannot
> reproduce your problem.
>
> Regards
> Stefan
>
> --
>
> U-Boot 2009.08 (Apr 29 2013 - 18:01:51)
>
> CPU: Freescale i.MX6 family TO1.2 at 792 MHz
> Thermal sensor with ratio = 188
> Temperature: 20 C, calibration data 0x5a35087d
> mx6q pll1: 792MHz
> mx6q pll2: 528MHz
> mx6q pll3: 480MHz
> mx6q pll8: 50MHz
> ipg clock : 66000000Hz
> ipg per clock : 66000000Hz
> uart clock : 80000000Hz
> cspi clock : 60000000Hz
> ahb clock : 132000000Hz
> axi clock : 264000000Hz
> emi_slow clock: 132000000Hz
> ddr clock : 528000000Hz
> usdhc1 clock : 198000000Hz
> usdhc2 clock : 198000000Hz
> usdhc3 clock : 198000000Hz
> usdhc4 clock : 198000000Hz
> nfc clock : 24000000Hz
> Board: i.MX6Q-SABRESD: unknown-board Board: 0x63012 [POR ]
> Boot Device: SD
> I2C: ready
> DRAM: 1 GB
> MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
> In: serial
> Out: serial
> Err: serial
> Found PFUZE100! deviceid=10,revid=11
> Net: got MAC address from IIM: 00:04:9f:02:e2:bb
> FEC0 [PRIME]
> Hit any key to stop autoboot: 0
> PHY indentify @ 0x1 = 0x004dd074
> FEC: Link is Up 796d
> BOOTP broadcast 1
> DHCP client bound to address 10.0.0.109
> Using FEC0 device
> TFTP from server 10.0.0.2; our IP address is 10.0.0.109
> Filename '/tftpboot/hosts/imx6-sabre.scr'.
> Load address: 0x10800000
> Loading: #
> done
> Bytes transferred = 156 (9c hex)
> ## Executing script at 10800000
> FEC: Link is Up 796d
> Using FEC0 device
> TFTP from server 10.0.0.17; our IP address is 10.0.0.109
> Filename '/var/lib/tftpboot/uImage'.
> Load address: 0x30000000
> Loading: ##########################################
> done
> Bytes transferred = 608911 (94a8f hex)
> ## Booting kernel from Legacy Image at 30000000 ...
> Image Name:
> Image Type: ARM Linux Kernel Image (gzip compressed)
> Data Size: 608847 Bytes = 594.6 kB
> Load Address: 10001000
> Entry Point: 10001000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
>
> Starting kernel ...
>
> :virt_alloc: Allocator 0x200f40b8 dump:
> Block: [00001000,10001000) size=256M avail=256M max_avail=256M
> Block: [105b5000,20001000) size=256304K avail=256304K max_avail=3144016K
> Block: [201ab000,201ac000) size=4K avail=0 max_avail=0
> Block: [201ac000,e0000000) size=3144016K avail=3144016K max_avail=3144016K
> Block: [f0004000,f0005000) size=4K avail=0 max_avail=3144016K
> Block: [f0007000,f0008000) size=4K avail=0 max_avail=0
> Block: [f0009000,f000a000) size=4K avail=0 max_avail=262036K
> Block: [f000a000,fffef000) size=262036K avail=262036K max_avail=262036K
> => mem_size=4018704384 (3832 MB) / mem_avail=4018688000 (3832 MB)
>
> :phys_alloc: Allocator 0x200f304c dump:
> Block: [105b5000,105b6000) size=4K avail=0 max_avail=0
> Block: [105b6000,105b7000) size=4K avail=0 max_avail=1042260K
> Block: [105b7000,105b8000) size=4K avail=0 max_avail=0
> Block: [1062a000,1062b000) size=4K avail=0 max_avail=1042260K
> Block: [1062b000,50000000) size=1042260K avail=1042260K max_avail=1042260K
> => mem_size=1067290624 (1017 MB) / mem_avail=1067274240 (1017 MB)
>
> :io_mem_alloc: Allocator 0x200f5130 dump:
> Block: [00000000,105b5000) size=267988K avail=267988K max_avail=267988K
> Block: [105b8000,1062a000) size=456K avail=456K max_avail=2952790015
> Block: [50000000,ffffffff) size=2952790015 avail=2952790015
> max_avail=2952790015
> => mem_size=3227676671 (3078 MB) / mem_avail=3227676671 (3078 MB)
>
> :io_port_alloc: Allocator 0x200f619c dump:
> => mem_size=0 (0 MB) / mem_avail=0 (0 MB)
>
> :irq_alloc: Allocator 0x200f7208 dump:
> Block: [00000000,00000001) size=1 avail=1 max_avail=1
> Block: [00000002,0000001d) size=27 avail=27 max_avail=994
> Block: [0000001e,00000400) size=994 avail=994 max_avail=994
> => mem_size=1022 (0 MB) / mem_avail=1022 (0 MB)
>
> :rom_fs: ROM modules:
> ROM: [101ae000,101ae158) config
> ROM: [10184000,101aa900) init
> ROM: [10106000,10183b64) ld.lib.so
> ROM: [101ab000,101ad598) test-log
>
>
> kernel initialized
> Genode 17.02-127-gf6386c6 <local changes>
> 1016 MiB RAM assigned to init
> [init -> test-log] hex range: [0e00,1680)
> [init -> test-log] empty hex range: [0abc0000,0abc0000) (empty!)
> [init -> test-log] hex range to limit: [f8,ff]
> [init -> test-log] invalid hex range: [f8,08) (overflow!)
> [init -> test-log] negative hex char: 0xfe
> [init -> test-log] positive hex char: 0x02
> [init -> test-log] multiarg string: "parent -> child.7"
> [init -> test-log] String(Hex(3)): 0x3
> [init -> test-log] Test done.
>
> Run script execution successful.
>
>
> --
> Stefan Kalkowski
> Genode Labs
>
> https://github.com/skalk ยท http://genode.org/
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> genode-main mailing list
> genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20170502/31342173/attachment.html>
More information about the users
mailing list