dtb for pandaboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi does anyone happen to have a working dtb file for the pandaboard? trying to test booting the fedora rawhide kernel which is 3.5.0-rc5 with a dtb file I made from the matching sources I dont get past decompressing the kernel. if i dont use a dtb file the system boots further but it i'm unable to find the root filesystem since it seems that the platform data has been messed up. modprobing omap results in no registration of the mmc block devices. i've not tested on a pandaboard ES or beagleboard yet or any other type of omap system. Dennis -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk/6CpsACgkQkSxm47BaWfepcACgq8zhbeyYz+BiiJ8//KTjQmMU qIkAoIDB6BuDfqJYv8UOnu+qiZOYVhAf =Hbwe -END PGP SIGNATURE-
Re: dtb for pandaboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 9 Jul 2012 02:08:49 -0700 Tony Lindgren wrote: > * Dennis Gilmore [120708 16:11]: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi does anyone happen to have a working dtb file for the pandaboard? > > trying to test booting the fedora rawhide kernel which is > > 3.5.0-rc5 with a dtb file I made from the matching sources I dont > > get past decompressing the kernel. if i dont use a dtb file the > > system boots further but it i'm unable to find the root filesystem > > since it seems that the platform data has been messed up. > > modprobing omap results in no registration of the mmc block > > devices. > > > > i've not tested on a pandaboard ES or beagleboard yet or any other > > type of omap system. > > FYI, I booted my panda es recently just fine with dtb append support > and the following .config addition using the plain > arch/arm/boot/dts/omap4-panda.dts file: > > CONFIG_ARM_APPENDED_DTB=y > CONFIG_ARM_ATAG_DTB_COMPAT=y > CONFIG_EXT4_FS=y > > Can you please enable DEBUG_LL, EARLY_PRINTK and add earlyprintk to > your cmdline and post what you get? > > Regards, > > Tony Loaded environment from uEnv.txt Importing environment from mmc ... reading uImage-omap 3988040 bytes read reading uInitrd-omap 1190 bytes read reading omap4-panda.dtb 5483 bytes read Booting from mmc ... ## Booting kernel from Legacy Image at 8030 ... Image Name: 3.5.0-0.rc6.git0.3.fc18.armv7hl. Image Type: ARM Linux Kernel Image (uncompressed) Data Size:3987976 Bytes = 3.8 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 8160 ... Image Name: initramfs Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size:1126 Bytes = 1.1 KiB Load Address: Entry Point: Verifying Checksum ... OK ## Flattened Device Tree blob at 8260 Booting using the fdt blob at 0x8260 Loading Kernel Image ... OK OK reserving fdt memory region: addr=9d00 size=300 Loading Ramdisk to bfefa000, end bfefa466 ... OK Loading Device Tree to bfef5000, end bfef956a ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Warning: Neither atags nor dtb found is as far as i am getting. Dennis -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk/8tp0ACgkQkSxm47BaWffNBgCcCGWEXE40ulcVa3nB3APunZPh TjAAnjNJV5eVt/EVYe6MgmH4okE6iBCG =1E/q -END PGP SIGNATURE-
Re: dtb for pandaboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 10 Jul 2012 18:11:19 -0500 Dennis Gilmore wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, 9 Jul 2012 02:08:49 -0700 > Tony Lindgren wrote: > > > * Dennis Gilmore [120708 16:11]: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > Hi does anyone happen to have a working dtb file for the > > > pandaboard? trying to test booting the fedora rawhide kernel > > > which is 3.5.0-rc5 with a dtb file I made from the matching > > > sources I dont get past decompressing the kernel. if i dont use a > > > dtb file the system boots further but it i'm unable to find the > > > root filesystem since it seems that the platform data has been > > > messed up. modprobing omap results in no registration of the mmc > > > block devices. > > > > > > i've not tested on a pandaboard ES or beagleboard yet or any > > > other type of omap system. > > > > FYI, I booted my panda es recently just fine with dtb append support > > and the following .config addition using the plain > > arch/arm/boot/dts/omap4-panda.dts file: > > > > CONFIG_ARM_APPENDED_DTB=y > > CONFIG_ARM_ATAG_DTB_COMPAT=y > > CONFIG_EXT4_FS=y > > > > Can you please enable DEBUG_LL, EARLY_PRINTK and add earlyprintk to > > your cmdline and post what you get? > > > > Regards, > > > > Tony > > Loaded environment from uEnv.txt > Importing environment from mmc ... > reading uImage-omap > > 3988040 bytes read > reading uInitrd-omap > > 1190 bytes read > reading omap4-panda.dtb > > 5483 bytes read > Booting from mmc ... > ## Booting kernel from Legacy Image at 8030 ... >Image Name: 3.5.0-0.rc6.git0.3.fc18.armv7hl. >Image Type: ARM Linux Kernel Image (uncompressed) >Data Size:3987976 Bytes = 3.8 MiB >Load Address: 80008000 >Entry Point: 80008000 >Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at 8160 ... >Image Name: initramfs >Image Type: ARM Linux RAMDisk Image (uncompressed) >Data Size:1126 Bytes = 1.1 KiB >Load Address: >Entry Point: >Verifying Checksum ... OK > ## Flattened Device Tree blob at 8260 >Booting using the fdt blob at 0x8260 >Loading Kernel Image ... OK > OK >reserving fdt memory region: addr=9d00 size=300 >Loading Ramdisk to bfefa000, end bfefa466 ... OK >Loading Device Tree to bfef5000, end bfef956a ... OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > Warning: Neither atags nor dtb found > > is as far as i am getting. > > Dennis > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.18 (GNU/Linux) > > iEYEARECAAYFAk/8tp0ACgkQkSxm47BaWffNBgCcCGWEXE40ulcVa3nB3APunZPh > TjAAnjNJV5eVt/EVYe6MgmH4okE6iBCG > =1E/q > -END PGP SIGNATURE- booting without using the dtb file i get [2.774627] === [2.774658] [ INFO: suspicious RCU usage. ] [2.774658] 3.5.0-0.rc6.git0.3.fc18.armv7hl.omap #1 Not tainted [2.774658] --- [2.774658] drivers/base/power/opp.c:154 suspicious rcu_dereference_check() usage! [2.774658] [2.774658] other info that might help us debug this: [2.774658] [2.774658] [2.774658] rcu_scheduler_active = 1, debug_locks = 0 [2.774658] 3 locks held by kworker/0:0/4: [2.774719] #1: [2.774719] ( [2.774719] (&(&dbs_info->work)->work) [2.774719] ){+.+...} [2.774719] , at: [2.774719] [] process_one_work+0x1e8/0x68c [2.774719] #2: [2.774719] ( [2.774749] &this_dbs_info->timer_mutex [2.774749] ){+.+...} [2.774749] , at: [2.774749] [] do_dbs_timer+0x34/0x438 [2.774749] [2.774749] stack backtrace: [2.774810] [] (unwind_backtrace+0x0/0x124) from [] (opp_get_voltage+0x80/0xd0) [2.774810] [] (opp_get_voltage+0x80/0xd0) from [] (omap_target+0x180/0x470) [2.774841] [] (omap_target+0x180/0x470) from [] (__cpufreq_driver_target+0xa0/0xc8) [2.774841] [] (__cpufreq_driver_target+0xa0/0xc8) from [] (do_dbs_timer+0x380/0x438) [2.774871] [] (do_dbs_timer+0x380/0x438) from [] (process_one_work+0x330/0x68c) [2.774871] [] (process_one_work+0x330/0x68c) from [] (worker_thread+0x1a0/0x2c0) [2.774871] [] (worker_thread+0x1a0/0x2c0) from [] (kthread+0x98/0xac) [2.774902] [] (kthread+0x98/0xac) from [] (kernel_thread_exit+0x0/0x8) [2.774932] voltdm_scale: No voltage scale API registered for vdd_mpu [2.774932] platform mpu.0: omap_target: unable to scale voltage up. [2.774688] #0: (events){.+.+..}, at: [] process_one_work+0x1e8/0x68c Dennis -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk/8ufcACgkQkSxm47BaWfeZswCfWkXj+8swx+9h28GPyt4h/+Wl xloAn0LjGBKPsBNwfgB4petbijSTp/BL =nnxV -END PGP SIGNATURE-
Re: dtb for pandaboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 11 Jul 2012 00:42:33 -0700 Tony Lindgren wrote: > * Dennis Gilmore [120710 16:16]: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Mon, 9 Jul 2012 02:08:49 -0700 > > Tony Lindgren wrote: > > > > > * Dennis Gilmore [120708 16:11]: > > > > -BEGIN PGP SIGNED MESSAGE- > > > > Hash: SHA1 > > > > > > > > Hi does anyone happen to have a working dtb file for the > > > > pandaboard? trying to test booting the fedora rawhide kernel > > > > which is 3.5.0-rc5 with a dtb file I made from the matching > > > > sources I dont get past decompressing the kernel. if i dont use > > > > a dtb file the system boots further but it i'm unable to find > > > > the root filesystem since it seems that the platform data has > > > > been messed up. modprobing omap results in no registration of > > > > the mmc block devices. > > > > > > > > i've not tested on a pandaboard ES or beagleboard yet or any > > > > other type of omap system. > > > > > > FYI, I booted my panda es recently just fine with dtb append > > > support and the following .config addition using the plain > > > arch/arm/boot/dts/omap4-panda.dts file: > > > > > > CONFIG_ARM_APPENDED_DTB=y > > > CONFIG_ARM_ATAG_DTB_COMPAT=y > > > CONFIG_EXT4_FS=y > > > > > > Can you please enable DEBUG_LL, EARLY_PRINTK and add earlyprintk > > > to your cmdline and post what you get? > > > > > > Regards, > > > > > > Tony > > > > Loaded environment from uEnv.txt > > Importing environment from mmc ... > > reading uImage-omap > > > > 3988040 bytes read > > reading uInitrd-omap > > > > 1190 bytes read > > reading omap4-panda.dtb > > > > 5483 bytes read > > Booting from mmc ... > > ## Booting kernel from Legacy Image at 8030 ... > >Image Name: 3.5.0-0.rc6.git0.3.fc18.armv7hl. > >Image Type: ARM Linux Kernel Image (uncompressed) > >Data Size:3987976 Bytes = 3.8 MiB > >Load Address: 80008000 > >Entry Point: 80008000 > >Verifying Checksum ... OK > > ## Loading init Ramdisk from Legacy Image at 8160 ... > >Image Name: initramfs > >Image Type: ARM Linux RAMDisk Image (uncompressed) > >Data Size:1126 Bytes = 1.1 KiB > >Load Address: > >Entry Point: > >Verifying Checksum ... OK > > ## Flattened Device Tree blob at 8260 > >Booting using the fdt blob at 0x8260 > >Loading Kernel Image ... OK > > OK > >reserving fdt memory region: addr=9d00 size=300 > >Loading Ramdisk to bfefa000, end bfefa466 ... OK > >Loading Device Tree to bfef5000, end bfef956a ... OK > > > > Starting kernel ... > > > > Uncompressing Linux... done, booting the kernel. > > Warning: Neither atags nor dtb found > > > > is as far as i am getting. > > Sounds like it's some kind of issue with dtb getting overwritten > by something. We had an issue where kernel BSS was overlapping dtb > in some cases, but those should be fixed. seems that they are not all fixed appending the dtb allows me to boot i could try loading the dtb at a different address. > Maybe try to leave out ARCH_OMAP2 and ARCH_OMAP3 and maybe CONFIG_NET > from your .config to make the kernel smaller and see if that makes > a difference? > > If that works, then moving the dtb address in uEnv.txt should help. > > Also, please check if the same issue happens with appended dtb: with the appended dtb image im back to where i was not using a dtb file at all. that is that omap is not being autoloaded. and the sdcard so rootfs never shows up. i get dropped to a dracut rescue shell where if i manually modprobe omap nothing is happening. additionally i get over and over [ 349.573883] BUG: sleeping function called from invalid context at include/linux/freezer.h:46 [ 349.582763] in_atomic(): 0, irqs_disabled(): 128, pid: 180, name: dracut-initqueu [ 349.590606] no locks held by dracut-initqueu/180. [ 349.595550] irq event stamp: 559882 [ 349.599212] hardirqs last enabled at (559881): [] _raw_spin_unlock_irq+0x2c/0x4c [ 349.607971] hardirqs last disabled at (559882): [] ret_fast_syscall+0xc/0x3c [ 349.616302] softirqs last enabled at (558920): [] irq_exit+0x60/0xb8 [ 349.623992] softirqs last disabled at (558907): [] irq_exit+0x60/0xb8 [ 349.631713] [] (unwind_backtrace+0x0/0x124) from [] (get_sig
Re: dtb for pandaboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Jul 2012 23:57:00 -0700 Tony Lindgren wrote: > * Dennis Gilmore [120711 06:53]: > > On Wed, 11 Jul 2012 00:42:33 -0700 > > Tony Lindgren wrote: > > > > > > Sounds like it's some kind of issue with dtb getting overwritten > > > by something. We had an issue where kernel BSS was overlapping dtb > > > in some cases, but those should be fixed. > > > > seems that they are not all fixed appending the dtb allows me to > > boot i could try loading the dtb at a different address. > > OK sounds like that's the issue then, hopefully moving the dtb around > helps. moving the address for the dtb does result in it starting to boot > > > Maybe try to leave out ARCH_OMAP2 and ARCH_OMAP3 and maybe > > > CONFIG_NET from your .config to make the kernel smaller and see > > > if that makes a difference? > > > > > > If that works, then moving the dtb address in uEnv.txt should > > > help. > > > > > > Also, please check if the same issue happens with appended dtb: > > with the appended dtb image im back to where i was not using a dtb > > file at all. that is that omap is not being autoloaded. and the > > sdcard so rootfs never shows up. i get dropped to a dracut rescue > > shell where if i manually modprobe omap nothing is happening. > > If the SD card is not detected with appended dtb either, the card > voltages may not be supported. I believe Rajendra mentioned in some > mail that we're still missing some voltage settings for the DT case > for omap_hsmmc.c. In that case the card should work for the non-DT > booting though. I started trying to use a dtb because the sdcard was not showing up. I wanted to see if using dtb allowed it to work. it doesnt work with or without a dtb. Dennis -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlAAHbgACgkQkSxm47BaWfeajACeLIr0rtCMhSMkPmiT9c9IX1IG NUIAnR2hT7rtWY5uydrhgQWz36xaNXd2 =ZWqU -END PGP SIGNATURE-