* upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20
@ 2013-04-11 12:15 Mikhail Goryunov
[not found] ` <1039301365682542-0lqHHmzNcNNxpj1cXAZ9Bg@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Mikhail Goryunov @ 2013-04-11 12:15 UTC (permalink / raw)
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA
When building the kernel with the option tegra_defconfig loading occurs in the following way:
Loading file "/boot/boot.scr" from usb device 0:1 (usbda1)
319 bytes read
## Executing script at 00408000
USB boot...
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3733096 bytes read
## Booting kernel from Legacy Image at 04080000 ...
Image Name: Linux-3.8.5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3733032 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
and system freezes
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <1039301365682542-0lqHHmzNcNNxpj1cXAZ9Bg@public.gmane.org>]
* Re: upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20 [not found] ` <1039301365682542-0lqHHmzNcNNxpj1cXAZ9Bg@public.gmane.org> @ 2013-04-11 13:44 ` Lucas Stach 2013-04-11 15:26 ` Stephen Warren 0 siblings, 1 reply; 6+ messages in thread From: Lucas Stach @ 2013-04-11 13:44 UTC (permalink / raw) To: Mikhail Goryunov; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA Am Donnerstag, den 11.04.2013, 16:15 +0400 schrieb Mikhail Goryunov: > When building the kernel with the option tegra_defconfig loading occurs in the following way: > Loading file "/boot/boot.scr" from usb device 0:1 (usbda1) > 319 bytes read > ## Executing script at 00408000 > USB boot... > Loading file "/boot/uImage" from usb device 0:1 (usbda1) > 3733096 bytes read > ## Booting kernel from Legacy Image at 04080000 ... > Image Name: Linux-3.8.5 > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 3733032 Bytes = 3.6 MiB > Load Address: 00008000 > Entry Point: 00008000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > OK > > Starting kernel ... > > > and system freezes Do you have a working devicetree for your module? Upstream kernel won't work without this information. You may also want to enable the earlyconsole support in kernel to see if it comes up at all. Also please show what's in your boot script, otherwise it's guesswork from our side. Regards, Lucas ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20 2013-04-11 13:44 ` Lucas Stach @ 2013-04-11 15:26 ` Stephen Warren [not found] ` <5166D633.8060308-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Stephen Warren @ 2013-04-11 15:26 UTC (permalink / raw) To: Lucas Stach; +Cc: Mikhail Goryunov, linux-tegra-u79uwXL29TY76Z2rM5mHXA On 04/11/2013 07:44 AM, Lucas Stach wrote: > Am Donnerstag, den 11.04.2013, 16:15 +0400 schrieb Mikhail Goryunov: >> When building the kernel with the option tegra_defconfig loading occurs in the following way: >> Loading file "/boot/boot.scr" from usb device 0:1 (usbda1) >> 319 bytes read >> ## Executing script at 00408000 >> USB boot... >> Loading file "/boot/uImage" from usb device 0:1 (usbda1) >> 3733096 bytes read >> ## Booting kernel from Legacy Image at 04080000 ... >> Image Name: Linux-3.8.5 >> Image Type: ARM Linux Kernel Image (uncompressed) >> Data Size: 3733032 Bytes = 3.6 MiB >> Load Address: 00008000 >> Entry Point: 00008000 >> Verifying Checksum ... OK >> Loading Kernel Image ... OK >> OK >> >> Starting kernel ... >> >> >> and system freezes > > ... You may also want to enable the > earlyconsole support in kernel to see if it comes up at all. i.e. enable the following Kconfig options: CONFIG_DEBUG_LL=y CONFIG_EARLY_PRINTK=y CONFIG_TEGRA_DEBUG_UART_XXX=y (where XXX above is the serial port you're using; look in menuconfig) and add "earlyprintk" to the kernel command-line. That should hopefully show the cause of the crash/hang. BTW, what is your kernel command-line? ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <5166D633.8060308-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20 [not found] ` <5166D633.8060308-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2013-04-12 7:18 ` Mikhail Goryunov [not found] ` <1688621365751094-5488f72fhnJxpj1cXAZ9Bg@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Mikhail Goryunov @ 2013-04-12 7:18 UTC (permalink / raw) To: Stephen Warren, Lucas Stach Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org These options are enabled. The argument "earlyprintk" gave no result. My command-line for kernel: 'root=/dev/sda2 rw rootwait console=ttyS0,115200n8 earlyprintk mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M nohdparm noinitrd init=/sbin/init rootwait loglevel=8 video=tegrafb' 11.04.2013, 19:26, "Stephen Warren" <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>: > On 04/11/2013 07:44 AM, Lucas Stach wrote: > >> Am Donnerstag, den 11.04.2013, 16:15 +0400 schrieb Mikhail Goryunov: >>> When building the kernel with the option tegra_defconfig loading occurs in the following way: >>> Loading file "/boot/boot.scr" from the usb device 0:1 (usbda1) >>> 319 bytes read >>> ## Executing the script at 00408000 >>> USB boot... >>> Loading file "/boot/uImage" from the usb device 0:1 (usbda1) >>> 3733096 bytes read >>> ## Booting kernel from Legacy Image at 04080000 ... >>> Image Name: Linux-3.8.5 >>> Image Type: PowerPC Linux Kernel Image (uncompressed) >>> Data Size: 3733032 Bytes = 3.6 MiB >>> Load Address: 00008000 >>> Entry Point: 00008000 >>> Verifying Checksum ... OK >>> Loading Kernel Image ... OK >>> OK >>> >>> Starting kernel ... >>> >>> and system freezes >> ... You may also want to enable the >> earlyconsole support in the kernel to see if it comes up at all. > > ie enable the following Kconfig options: > > CONFIG_DEBUG_LL=y > CONFIG_EARLY_PRINTK=y > CONFIG_TEGRA_DEBUG_UART_XXX=y > > (where XXX above is the serial port you're using; look in menuconfig) > > and add "earlyprintk" to the kernel command-line. That should hopefully > show the cause of the crash/hang. > > BTW, what is your kernel command-line? ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1688621365751094-5488f72fhnJxpj1cXAZ9Bg@public.gmane.org>]
* Re: upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20 [not found] ` <1688621365751094-5488f72fhnJxpj1cXAZ9Bg@public.gmane.org> @ 2013-04-12 15:31 ` Stephen Warren [not found] ` <516828ED.4090403-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Stephen Warren @ 2013-04-12 15:31 UTC (permalink / raw) To: Mikhail Goryunov Cc: Lucas Stach, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 04/12/2013 01:18 AM, Mikhail Goryunov wrote: > 11.04.2013, 19:26, "Stephen Warren" <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>: >> On 04/11/2013 07:44 AM, Lucas Stach wrote: >>> Am Donnerstag, den 11.04.2013, 16:15 +0400 schrieb Mikhail Goryunov: >>>> When building the kernel with the option tegra_defconfig loading occurs in the following way: ... >>>> Starting kernel ... >>>> >>>> and system freezes >>> ... You may also want to enable the >>> earlyconsole support in the kernel to see if it comes up at all. >> >> ie enable the following Kconfig options: >> >> CONFIG_DEBUG_LL=y >> CONFIG_EARLY_PRINTK=y >> CONFIG_TEGRA_DEBUG_UART_XXX=y >> >> (where XXX above is the serial port you're using; look in menuconfig) >> >> and add "earlyprintk" to the kernel command-line. That should hopefully >> show the cause of the crash/hang. >> >> BTW, what is your kernel command-line? > These options are enabled. > The argument "earlyprintk" gave no result. > My command-line for kernel: > 'root=/dev/sda2 rw rootwait console=ttyS0,115200n8 earlyprintk mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M nohdparm noinitrd init=/sbin/init rootwait loglevel=8 video=tegrafb' Many of those options are only useful for downstream kernels. Some may be harmful for upstream kernels. I suggest you try the following simplified command-line: root=/dev/sda2 rw rootwait console=ttyS0,115200n8 earlyprintk init=/sbin/init loglevel=8 Just to confirm: a) You're using a pure upstream 3.8 kernel with no modifications. If not, what modifications have been made? b) You have written a device tree for your board, and are passing that to the kernel. c) When flashing the bootlaoder, you set the ODMDATA to correctly specify the RAM size and serial console UART. Perhaps you can get away with specifying the wrong console UART if you pick an explicit CONFIG_TEGRA_DEBUG_UART_XXX, rather than the AUTO_ODMDATA option. d) You're using a bootloader that understands device tree, and you're passing both the zImage and DT address to "bootm" or "bootz", and the bootloader is filling in the correct parameters in the /memory and /chosen (for command-line) nodes. BTW, I just noticed the following in your previous message: > Image Type: PowerPC Linux Kernel Image (uncompressed) That's certainly wrong... ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <516828ED.4090403-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20 [not found] ` <516828ED.4090403-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2013-04-18 13:24 ` Mikhail Goryunov 0 siblings, 0 replies; 6+ messages in thread From: Mikhail Goryunov @ 2013-04-18 13:24 UTC (permalink / raw) To: Stephen Warren Cc: Lucas Stach, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org 12.04.2013, 19:32, "Stephen Warren" <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>: > On 04/12/2013 01:18 AM, Mikhail Goryunov wrote: > >> 11.04.2013, 19:26, "Stephen Warren" <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>: >>> On 04/11/2013 07:44 AM, Lucas Stach wrote: >>>> Am Donnerstag, den 11.04.2013, 16:15 +0400 schrieb Mikhail Goryunov: >>>>> When building the kernel with the option tegra_defconfig loading occurs in the following way: > > ... > > BTW, I just noticed the following in your previous message: > >> Image Type: PowerPC Linux Kernel Image (uncompressed) > > That's certainly wrong... A very strange comment. I'm such a sent me letters not found. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-04-18 13:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 12:15 upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20 Mikhail Goryunov
[not found] ` <1039301365682542-0lqHHmzNcNNxpj1cXAZ9Bg@public.gmane.org>
2013-04-11 13:44 ` Lucas Stach
2013-04-11 15:26 ` Stephen Warren
[not found] ` <5166D633.8060308-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-12 7:18 ` Mikhail Goryunov
[not found] ` <1688621365751094-5488f72fhnJxpj1cXAZ9Bg@public.gmane.org>
2013-04-12 15:31 ` Stephen Warren
[not found] ` <516828ED.4090403-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-18 13:24 ` Mikhail Goryunov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).