Hi,
I am trying to update latest upstream kernel on mphackbox TC2 board according to this wiki. https://wiki.linaro.org/Platform/LAVA/DevOps/TC2TilesOnLavaServer/hackbox
I use vexpress-v2p-ca15_a7.dts and vexpress_defconfig kernel config. after make kernel and dtb images, I updated them as u-zimage.bin and u-dtb.bin. but the kernel keep panic:
Did I miss sth or the just kernel broken?
=============== loading, please wait... udevd[730]: starting version 175 Begin: Loading essential drivers ... done. Begin: Runnimmci-pl18x 1c050000.mmci: no support for card's volts ng /scripts/initmmc0: error -22 whilst initialising SD card -premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card Begin: Running /scripts/local-premount ... FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory done. FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /dev on /root/dev failed: No such file or directory done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have requested /sbin/init. /init: line 35mmci-pl18x 1c050000.mmci: no support for card's volts 2: can't open /rmmc0: error -22 whilst initialising SD card oot/dev/console: no such file Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
CPU: 0 PID: 1 Comm: init Tainted: G W 3.12.0+ #147 [<8001548c>] (unwind_backtrace+0x0/0xf8) from [<80011aec>] (show_stack+0x10/0x14) [<80011aec>] (show_stack+0x10/0x14) from [<80426a44>] (dump_stack+0x70/0x8c) [<80426a44>] (dump_stack+0x70/0x8c) from [<80423f4c>] (panic+0x90/0x1e8) [<80423f4c>] (panic+0x90/0x1e8) from [<80023e74>] (do_exit+0x838/0x8d8) [<80023e74>] (do_exit+0x838/0x8d8) from [<8002401c>] (do_group_exit+0x3c/0xc4) [<8002401c>] (do_group_exit+0x3c/0xc4) from [<800240b4>] (__wake_up_parent+0x0/0x18)
On 11/22/2013 06:27 AM, Alex Shi wrote:
Hi,
I am trying to update latest upstream kernel on mphackbox TC2 board according to this wiki. https://wiki.linaro.org/Platform/LAVA/DevOps/TC2TilesOnLavaServer/hackbox
I use vexpress-v2p-ca15_a7.dts and vexpress_defconfig kernel config. after make kernel and dtb images, I updated them as u-zimage.bin and u-dtb.bin. but the kernel keep panic:
Did I miss sth or the just kernel broken?
Well the root error is the mmc card initialization. All the rest are the consequences (no directories to mount and process 1 exits leading to the panic). Unfortunately I can't help more.
=============== loading, please wait... udevd[730]: starting version 175 Begin: Loading essential drivers ... done. Begin: Runnimmci-pl18x 1c050000.mmci: no support for card's volts ng /scripts/initmmc0: error -22 whilst initialising SD card -premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card Begin: Running /scripts/local-premount ... FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory done. FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /dev on /root/dev failed: No such file or directory done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have requested /sbin/init. /init: line 35mmci-pl18x 1c050000.mmci: no support for card's volts 2: can't open /rmmc0: error -22 whilst initialising SD card oot/dev/console: no such file Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
CPU: 0 PID: 1 Comm: init Tainted: G W 3.12.0+ #147 [<8001548c>] (unwind_backtrace+0x0/0xf8) from [<80011aec>] (show_stack+0x10/0x14) [<80011aec>] (show_stack+0x10/0x14) from [<80426a44>] (dump_stack+0x70/0x8c) [<80426a44>] (dump_stack+0x70/0x8c) from [<80423f4c>] (panic+0x90/0x1e8) [<80423f4c>] (panic+0x90/0x1e8) from [<80023e74>] (do_exit+0x838/0x8d8) [<80023e74>] (do_exit+0x838/0x8d8) from [<8002401c>] (do_group_exit+0x3c/0xc4) [<8002401c>] (do_group_exit+0x3c/0xc4) from [<800240b4>] (__wake_up_parent+0x0/0x18)
Alex Shi,
Please follow this thread for more information http://lists.linaro.org/pipermail/linaro-kernel/2013-November/008947.html
On 22 November 2013 15:25, Daniel Lezcano daniel.lezcano@linaro.org wrote:
On 11/22/2013 06:27 AM, Alex Shi wrote:
Hi,
I am trying to update latest upstream kernel on mphackbox TC2 board according to this wiki. https://wiki.linaro.org/Platform/LAVA/DevOps/TC2TilesOnLavaServer/hackbox
I use vexpress-v2p-ca15_a7.dts and vexpress_defconfig kernel config. after make kernel and dtb images, I updated them as u-zimage.bin and u-dtb.bin. but the kernel keep panic:
Did I miss sth or the just kernel broken?
Well the root error is the mmc card initialization. All the rest are the consequences (no directories to mount and process 1 exits leading to the panic). Unfortunately I can't help more.
===============
loading, please wait... udevd[730]: starting version 175 Begin: Loading essential drivers ... done. Begin: Runnimmci-pl18x 1c050000.mmci: no support for card's volts ng /scripts/initmmc0: error -22 whilst initialising SD card -premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card Begin: Running /scripts/local-premount ... FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory done. FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /dev on /root/dev failed: No such file or directory done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have requested /sbin/init. /init: line 35mmci-pl18x 1c050000.mmci: no support for card's volts 2: can't open /rmmc0: error -22 whilst initialising SD card oot/dev/console: no such file Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
CPU: 0 PID: 1 Comm: init Tainted: G W 3.12.0+ #147 [<8001548c>] (unwind_backtrace+0x0/0xf8) from [<80011aec>] (show_stack+0x10/0x14) [<80011aec>] (show_stack+0x10/0x14) from [<80426a44>] (dump_stack+0x70/0x8c) [<80426a44>] (dump_stack+0x70/0x8c) from [<80423f4c>] (panic+0x90/0x1e8) [<80423f4c>] (panic+0x90/0x1e8) from [<80023e74>] (do_exit+0x838/0x8d8) [<80023e74>] (do_exit+0x838/0x8d8) from [<8002401c>] (do_group_exit+0x3c/0xc4) [<8002401c>] (do_group_exit+0x3c/0xc4) from [<800240b4>] (__wake_up_parent+0x0/0x18)
-- http://www.linaro.org/ Linaro.org │ Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro Facebook | http://twitter.com/#!/linaroorg Twitter | http://www.linaro.org/linaro-blog/ Blog
On 11/23/2013 12:15 AM, Naresh Kamboju wrote:
Alex Shi,
Please follow this thread for more information http://lists.linaro.org/pipermail/linaro-kernel/2013-November/008947.html
Thanks a lot for the help!
I updated to latest upstream kernel, it has regulator update. and remove the mmc driver in kernel config, since wiki said it is using USB stick.
but seems this tc2 board is very unstable. sometime it need multi time 'reboot' command. sometime it hang on 'Cmd> reboot',
---- DB SMB clock enabled. Waiting for SITE1 CB_READY... Testing SMB clock... Configuring MUXFPGA for MB. Setting DVI mode for VGA. Releasing Daughterboard resets. Switching MCC log to UART1. ----
or sometime is hang after ----
fl source ubuntu
Running script from flash - ubuntu Loaded FDT - u-dtb Loaded initrd - u-initrd Loaded kernel - u-zimage Booting kernel @ 0x80008000 Command line 'console=ttyAMA0,38400n8 root=/dev/sda2 rootwait ro mem=2048M ip=dhcp clcd=xvga mmci.fmax=12000000' initrd @ 0xa0100000 (1767175 bytes) FDT @ 0xa0000000 (14897 bytes)
Fatal Error: Unhandled Exception - Undefined ----
Anyone can check the hardware unstable issue for this board?
On 11/26/2013 10:10 AM, Alex Shi wrote:
On 11/23/2013 12:15 AM, Naresh Kamboju wrote:
Alex Shi,
Please follow this thread for more information http://lists.linaro.org/pipermail/linaro-kernel/2013-November/008947.html
Thanks a lot for the help!
I updated to latest upstream kernel, it has regulator update. and remove the mmc driver in kernel config, since wiki said it is using USB stick.
but seems this tc2 board is very unstable. sometime it need multi time 'reboot' command. sometime it hang on 'Cmd> reboot',
Yeah, that happens on my board too. After the board has rebooted you have to wait a bit (several seconds) before sending a command.
DB SMB clock enabled. Waiting for SITE1 CB_READY... Testing SMB clock... Configuring MUXFPGA for MB. Setting DVI mode for VGA. Releasing Daughterboard resets. Switching MCC log to UART1.
or sometime is hang after
fl source ubuntu
Running script from flash - ubuntu Loaded FDT - u-dtb Loaded initrd - u-initrd Loaded kernel - u-zimage Booting kernel @ 0x80008000 Command line 'console=ttyAMA0,38400n8 root=/dev/sda2 rootwait ro mem=2048M ip=dhcp clcd=xvga mmci.fmax=12000000' initrd @ 0xa0100000 (1767175 bytes) FDT @ 0xa0000000 (14897 bytes)
Fatal Error: Unhandled Exception - Undefined
Anyone can check the hardware unstable issue for this board?
For me it happened only when I choose the wrong kernel or copied the kernel in the wrong place.
On 11/26/2013 05:18 PM, Daniel Lezcano wrote:
Fatal Error: Unhandled Exception - Undefined
Anyone can check the hardware unstable issue for this board?
For me it happened only when I choose the wrong kernel or copied the kernel in the wrong place.
Thank you, Daniel!
when I use the latest upstream kernel. the error still exists.
but on 3.12 kernel. I can see the kernel panic on MMC. Without MMC driver on 3.12 kernel. I saw above 'unhandled Exception' again.
Recent kernel is unfriendly to the TC2 board. I give up to play TC2 now.
On 26 November 2013 14:48, Daniel Lezcano daniel.lezcano@linaro.org wrote:
On 11/26/2013 10:10 AM, Alex Shi wrote:
On 11/23/2013 12:15 AM, Naresh Kamboju wrote:
Alex Shi,
Please follow this thread for more information http://lists.linaro.org/pipermail/linaro-kernel/2013- November/008947.html
Thanks a lot for the help!
I updated to latest upstream kernel, it has regulator update. and remove the mmc driver in kernel config, since wiki said it is using USB stick.
but seems this tc2 board is very unstable. sometime it need multi time 'reboot' command. sometime it hang on 'Cmd> reboot',
Yeah, that happens on my board too. After the board has rebooted you have to wait a bit (several seconds) before sending a command.
DB SMB clock enabled. Waiting for SITE1 CB_READY... Testing SMB clock... Configuring MUXFPGA for MB. Setting DVI mode for VGA. Releasing Daughterboard resets. Switching MCC log to UART1.
or sometime is hang after
fl source ubuntu
Running script from flash - ubuntu Loaded FDT - u-dtb Loaded initrd - u-initrd Loaded kernel - u-zimage Booting kernel @ 0x80008000 Command line 'console=ttyAMA0,38400n8 root=/dev/sda2 rootwait ro mem=2048M ip=dhcp clcd=xvga mmci.fmax=12000000' initrd @ 0xa0100000 (1767175 bytes) FDT @ 0xa0000000 (14897 bytes)
Fatal Error: Unhandled Exception - Undefined
Anyone can check the hardware unstable issue for this board?
This could be an issue with kernel image, please ensure you copied zImage ( not uImage) and ensure you have right DTB.
Best regards Naresh Kamboju
For me it happened only when I choose the wrong kernel or copied the kernel in the wrong place.
-- http://www.linaro.org/ Linaro.org │ Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro Facebook | http://twitter.com/#!/linaroorg Twitter | http://www.linaro.org/linaro-blog/ Blog
linaro-kernel@lists.linaro.org