All of lore.kernel.org
 help / color / mirror / Atom feed
* Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
@ 2013-06-24 21:50 squirem
  2013-06-25 20:28 ` Otavio Salvador
  2013-06-29 21:09 ` Trevor Woerner
  0 siblings, 2 replies; 23+ messages in thread
From: squirem @ 2013-06-24 21:50 UTC (permalink / raw)
  To: meta-freescale

Hello,

I've been trying to run a simple image, on the SabreSD devlopment board. I 
downloaded the latest version of the meta-fsl-arm BSP (dylan branch) and 
pokey-dylan package downloaded directly from the main Yocto site.

After dropping the BSP into the top level pokey directory, setting up the 
environment, and adding ACCEPT_FSL_EULA = "1" to local.conf, I ran the hob 
GUI. From there I added the meta-fsl-arm BSP, selected the imx6qsabresd 
machine, then selected core-image-sato-sdk base image and just let that 
built.

When that was finished I begin copying over the bootloader, kernel, and 
rootfs in the following order:
sudo dd if=u-boot.imx of=/dev/sdc bs=512 skip=0 seek=2 conv=fsync
sudo dd if=uImage of=/dev/sdc bs=512 skip=0 seek=2048 conv=fsync
sudo fdisk /dev/sdc (made new primary partition at sector 16384)
sudo mkfs.ext4 /dev/sdc1
sudo tar --numeric-owner -xzvf /home/user/Desktop/poky-dylan-
9.0.0/build/tmp/deploy/images/core-image-sato-sdk-imx6qsabresd.tar.gz

I then put in the SD card into the board, booted it, and observed the output 
from the debug port. It loads up the kernel and filesystem, but it 
eventually fails. This is the output I was left with before it stopped:

Waiting for root device /dev/mmcblk1p1...
mmc2: new high speed SDHC card at address aaaa
mmcblk1: mmc2:aaaa SU08G 7.40 GiB 
 mmcblk1: p1
EXT3-fs (mmcblk1p1): error: couldn't mount because of unsupported optional 
features (240)
EXT2-fs (mmcblk1p1): error: couldn't mount because of unsupported optional 
features (240)
EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:25.
Freeing init memory: 204K
INIT: version 2.88 booting
Starting udev
Missing devtmpfs, which is required for udev to run
Halting...
INIT: Sending processes the TERM signaStopping OpenBSD Secure Shell server: 
sshdno /usr/sbin/sshd found; none killed


Any help would be appreciate, thanks.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-24 21:50 Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image squirem
@ 2013-06-25 20:28 ` Otavio Salvador
  2013-06-25 21:49   ` squirem
  2013-06-26 13:49   ` squirem
  2013-06-29 21:09 ` Trevor Woerner
  1 sibling, 2 replies; 23+ messages in thread
From: Otavio Salvador @ 2013-06-25 20:28 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On Mon, Jun 24, 2013 at 6:50 PM, squirem <squirem@fbdfrozen.com> wrote:
> Hello,
>
> I've been trying to run a simple image, on the SabreSD devlopment board. I
> downloaded the latest version of the meta-fsl-arm BSP (dylan branch) and
> pokey-dylan package downloaded directly from the main Yocto site.
>
> After dropping the BSP into the top level pokey directory, setting up the
> environment, and adding ACCEPT_FSL_EULA = "1" to local.conf, I ran the hob
> GUI. From there I added the meta-fsl-arm BSP, selected the imx6qsabresd
> machine, then selected core-image-sato-sdk base image and just let that
> built.
>
> When that was finished I begin copying over the bootloader, kernel, and
> rootfs in the following order:
> sudo dd if=u-boot.imx of=/dev/sdc bs=512 skip=0 seek=2 conv=fsync
> sudo dd if=uImage of=/dev/sdc bs=512 skip=0 seek=2048 conv=fsync
> sudo fdisk /dev/sdc (made new primary partition at sector 16384)
> sudo mkfs.ext4 /dev/sdc1
> sudo tar --numeric-owner -xzvf /home/user/Desktop/poky-dylan-
> 9.0.0/build/tmp/deploy/images/core-image-sato-sdk-imx6qsabresd.tar.gz
>
> I then put in the SD card into the board, booted it, and observed the output
> from the debug port. It loads up the kernel and filesystem, but it
> eventually fails. This is the output I was left with before it stopped:
>
> Waiting for root device /dev/mmcblk1p1...
> mmc2: new high speed SDHC card at address aaaa
> mmcblk1: mmc2:aaaa SU08G 7.40 GiB
>  mmcblk1: p1
> EXT3-fs (mmcblk1p1): error: couldn't mount because of unsupported optional
> features (240)
> EXT2-fs (mmcblk1p1): error: couldn't mount because of unsupported optional
> features (240)
> EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
> VFS: Mounted root (ext4 filesystem) on device 179:25.
> Freeing init memory: 204K
> INIT: version 2.88 booting
> Starting udev
> Missing devtmpfs, which is required for udev to run
> Halting...
> INIT: Sending processes the TERM signaStopping OpenBSD Secure Shell server:
> sshdno /usr/sbin/sshd found; none killed

Are you sure you're using dylan?

http://lists.openembedded.org/pipermail/openembedded-core/2013-June/080311.html

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-25 20:28 ` Otavio Salvador
@ 2013-06-25 21:49   ` squirem
  2013-06-26 13:49   ` squirem
  1 sibling, 0 replies; 23+ messages in thread
From: squirem @ 2013-06-25 21:49 UTC (permalink / raw)
  To: meta-freescale

Otavio Salvador <otavio@...> writes:

> 
> Are you sure you're using dylan?
> 
> http://lists.openembedded.org/pipermail/openembedded-core/2013-
June/080311.html
> 
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> 

Thanks for the response.

I'm certain I'm using the latest release of poky, downloaded straight from 
the Yocto site: https://www.yoctoproject.org/download/yocto-project-14-poky-
900

However, I can't really remember when it was I downloaded the meta-fsl-arm 
BSP, but I did download it from here: https://github.com/Freescale/meta-fsl-
arm/tree/dylan

I will start from scratch and make an update on the results.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-25 20:28 ` Otavio Salvador
  2013-06-25 21:49   ` squirem
@ 2013-06-26 13:49   ` squirem
  2013-06-26 13:56     ` Otavio Salvador
  1 sibling, 1 reply; 23+ messages in thread
From: squirem @ 2013-06-26 13:49 UTC (permalink / raw)
  To: meta-freescale

Otavio Salvador <otavio@...> writes:

> Are you sure you're using dylan?
> 
> http://lists.openembedded.org/pipermail/openembedded-core/2013-
June/080311.html

I've rebuilt the image using the pokey-dylan builder from the Yocto site and 
the meta-fsl-arm BSP provided from here:

https://github.com/Freescale/meta-fsl-arm/tree/dylan

I got the same errors claiming that devtmpfs was missing. Any advice advice 
on how I can handle the issue?



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 13:49   ` squirem
@ 2013-06-26 13:56     ` Otavio Salvador
  2013-06-26 14:09       ` Luo Zhenhua-B19537
  2013-06-26 14:20       ` Daiane Angolini
  0 siblings, 2 replies; 23+ messages in thread
From: Otavio Salvador @ 2013-06-26 13:56 UTC (permalink / raw)
  To: squirem, Daiane Angolini; +Cc: meta-freescale

On Wed, Jun 26, 2013 at 10:49 AM, squirem <squirem@fbdfrozen.com> wrote:
> Otavio Salvador <otavio@...> writes:
>
>> Are you sure you're using dylan?
>>
>> http://lists.openembedded.org/pipermail/openembedded-core/2013-
> June/080311.html
>
> I've rebuilt the image using the pokey-dylan builder from the Yocto site and
> the meta-fsl-arm BSP provided from here:
>
> https://github.com/Freescale/meta-fsl-arm/tree/dylan
>
> I got the same errors claiming that devtmpfs was missing. Any advice advice
> on how I can handle the issue?

I didn't build dylan (community) branch for a while; Daiane, did you
build and tested dylan lately?

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 13:56     ` Otavio Salvador
@ 2013-06-26 14:09       ` Luo Zhenhua-B19537
  2013-06-26 14:22         ` Daiane Angolini
  2013-06-26 14:20       ` Daiane Angolini
  1 sibling, 1 reply; 23+ messages in thread
From: Luo Zhenhua-B19537 @ 2013-06-26 14:09 UTC (permalink / raw)
  To: Otavio Salvador, squirem, Angolini Daiane-B19406; +Cc: meta-freescale

Seems like CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT are not enabled in Kernel. 

Please check if the two options are enabled. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Otavio Salvador
> Sent: Wednesday, June 26, 2013 9:56 PM
> To: squirem; Angolini Daiane-B19406
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk
> image
> 
> On Wed, Jun 26, 2013 at 10:49 AM, squirem <squirem@fbdfrozen.com> wrote:
> > Otavio Salvador <otavio@...> writes:
> >
> >> Are you sure you're using dylan?
> >>
> >> http://lists.openembedded.org/pipermail/openembedded-core/2013-
> > June/080311.html
> >
> > I've rebuilt the image using the pokey-dylan builder from the Yocto
> > site and the meta-fsl-arm BSP provided from here:
> >
> > https://github.com/Freescale/meta-fsl-arm/tree/dylan
> >
> > I got the same errors claiming that devtmpfs was missing. Any advice
> > advice on how I can handle the issue?
> 
> I didn't build dylan (community) branch for a while; Daiane, did you
> build and tested dylan lately?
> 
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 13:56     ` Otavio Salvador
  2013-06-26 14:09       ` Luo Zhenhua-B19537
@ 2013-06-26 14:20       ` Daiane Angolini
  1 sibling, 0 replies; 23+ messages in thread
From: Daiane Angolini @ 2013-06-26 14:20 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, squirem

On 06/26/2013 10:56 AM, Otavio Salvador wrote:
> On Wed, Jun 26, 2013 at 10:49 AM, squirem <squirem@fbdfrozen.com> wrote:
>> Otavio Salvador <otavio@...> writes:
>>
>>> Are you sure you're using dylan?
>>>
>>> http://lists.openembedded.org/pipermail/openembedded-core/2013-
>> June/080311.html
>>
>> I've rebuilt the image using the pokey-dylan builder from the Yocto site and
>> the meta-fsl-arm BSP provided from here:
>>
>> https://github.com/Freescale/meta-fsl-arm/tree/dylan
>>
>> I got the same errors claiming that devtmpfs was missing. Any advice advice
>> on how I can handle the issue?
>
> I didn't build dylan (community) branch for a while; Daiane, did you
> build and tested dylan lately?

Just repo sync-ed and tested with core-image-minimal:

Waiting for root device /dev/mmcblk1p2...
mmc2: new SDHC card at address d3db
mmcblk1: mmc2:d3db SD04G 3.69 GiB
  mmcblk1: p1 p2
EXT3-fs (mmcblk1p2): warning: feature flags set on rev 0 fs, running 
e2fsck is recommended
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk1p2): warning: updating to rev 1 because of new feature 
flag, running e2fsck is recommended
EXT3-fs (mmcblk1p2): using internal journal
EXT3-fs (mmcblk1p2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:26.
devtmpfs: mounted
Freeing init memory: 204K
INIT: version 2.88 booting
Starting udev
udevd[105]: starting version 182
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... eth0: Freescale FEC PHY driver 
[Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
Wed Jun 26 14:17:00 UTC 2013
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.

Poky 9.0 (Yocto Project 1.4 Reference Distro) 1.4.1 imx6qsabresd ttymxc0

imx6qsabresd login: root


I got it working here with:

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.1"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "dylan:e4a0a4c5e419154a34710a1b6c28d4180c6304c3"
meta-oe           = "dylan:13ae5105ee30410136beeae66ec41ee4a8a2e2b0"
meta-fsl-arm      = "dylan:137f4b926124e872a740e0b1b598d54a8944c8cb"
meta-fsl-arm-extra = "dylan:5f5a9cfcad223f5a1c623346780510ffcdc012ab"
meta-fsl-demos    = "dylan:724cfb929748f47782dea3b1dc412b028f6f3515"



>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>


-- 
Daiane



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 14:09       ` Luo Zhenhua-B19537
@ 2013-06-26 14:22         ` Daiane Angolini
  2013-06-26 15:03           ` squirem
  0 siblings, 1 reply; 23+ messages in thread
From: Daiane Angolini @ 2013-06-26 14:22 UTC (permalink / raw)
  To: Luo Zhenhua-B19537
  Cc: meta-freescale, Angolini Daiane-B19406, squirem, Otavio Salvador

On 06/26/2013 11:09 AM, Luo Zhenhua-B19537 wrote:
> Seems like CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT are not enabled in Kernel.
>
> Please check if the two options are enabled.

CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-kernel/linux/linux-imx-3.0.35/mx6q/defconfig?h=dylan


I think they are, Luo.


@squirem, could you, please, share which kernel are you using?

>
>
> Best Regards,
>
> Zhenhua
>
>
>> -----Original Message-----
>> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
>> bounces@yoctoproject.org] On Behalf Of Otavio Salvador
>> Sent: Wednesday, June 26, 2013 9:56 PM
>> To: squirem; Angolini Daiane-B19406
>> Cc: meta-freescale@yoctoproject.org
>> Subject: Re: [meta-freescale] Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk
>> image
>>
>> On Wed, Jun 26, 2013 at 10:49 AM, squirem <squirem@fbdfrozen.com> wrote:
>>> Otavio Salvador <otavio@...> writes:
>>>
>>>> Are you sure you're using dylan?
>>>>
>>>> http://lists.openembedded.org/pipermail/openembedded-core/2013-
>>> June/080311.html
>>>
>>> I've rebuilt the image using the pokey-dylan builder from the Yocto
>>> site and the meta-fsl-arm BSP provided from here:
>>>
>>> https://github.com/Freescale/meta-fsl-arm/tree/dylan
>>>
>>> I got the same errors claiming that devtmpfs was missing. Any advice
>>> advice on how I can handle the issue?
>>
>> I didn't build dylan (community) branch for a while; Daiane, did you
>> build and tested dylan lately?
>>
>> --
>> Otavio Salvador                             O.S. Systems
>> http://www.ossystems.com.br        http://projetos.ossystems.com.br
>> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>


-- 
Daiane



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 14:22         ` Daiane Angolini
@ 2013-06-26 15:03           ` squirem
  2013-06-26 16:40             ` Daiane Angolini
  0 siblings, 1 reply; 23+ messages in thread
From: squirem @ 2013-06-26 15:03 UTC (permalink / raw)
  To: meta-freescale

Daiane Angolini <daiane.angolini@...> writes:

> 
> On 06/26/2013 11:09 AM, Luo Zhenhua-B19537 wrote:
> > Seems like CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT are not enabled in 
Kernel.
> >
> > Please check if the two options are enabled.
> 
> CONFIG_DEVTMPFS=y
> CONFIG_DEVTMPFS_MOUNT=y
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-
kernel/linux/linux-imx-3.0.35/mx6q/defconfig?h=dylan
> 
> I think they are, Luo.
> 
>  <at> squirem, could you, please, share which kernel are you using?

I'm using linux-imx-3.0.35-r31.14 for the imx6qsabresd machine with the core-
image-sato-sdk image. I looked into the following file:

meta-fsl-arm-dylan/recipes-kernel/linux/linux-imx-3.0.35/mx6q/defconfig

It seems the following options were enabled:
CONFIG_DEVTMPFS=y        (line 94)
CONFIG_DEVTMPFS_MOUNT=y  (line 95)



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 15:03           ` squirem
@ 2013-06-26 16:40             ` Daiane Angolini
  2013-06-26 16:56               ` squirem
  2013-06-26 17:02               ` squirem
  0 siblings, 2 replies; 23+ messages in thread
From: Daiane Angolini @ 2013-06-26 16:40 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On 06/26/2013 12:03 PM, squirem wrote:
> Daiane Angolini <daiane.angolini@...> writes:
>
>>
>> On 06/26/2013 11:09 AM, Luo Zhenhua-B19537 wrote:
>>> Seems like CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT are not enabled in
> Kernel.
>>>
>>> Please check if the two options are enabled.
>>
>> CONFIG_DEVTMPFS=y
>> CONFIG_DEVTMPFS_MOUNT=y
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-
> kernel/linux/linux-imx-3.0.35/mx6q/defconfig?h=dylan
>>
>> I think they are, Luo.
>>
>>   <at> squirem, could you, please, share which kernel are you using?
>
> I'm using linux-imx-3.0.35-r31.14 for the imx6qsabresd machine with the core-
> image-sato-sdk image. I looked into the following file:
>
> meta-fsl-arm-dylan/recipes-kernel/linux/linux-imx-3.0.35/mx6q/defconfig
>
> It seems the following options were enabled:
> CONFIG_DEVTMPFS=y        (line 94)
> CONFIG_DEVTMPFS_MOUNT=y  (line 95)

Let me bitbake and test core-image-sato-sdk.


Do you know your board revision and chip TO?

-- 
Daiane



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 16:40             ` Daiane Angolini
@ 2013-06-26 16:56               ` squirem
  2013-06-26 17:07                 ` Daiane Angolini
  2013-06-26 17:22                 ` Otavio Salvador
  2013-06-26 17:02               ` squirem
  1 sibling, 2 replies; 23+ messages in thread
From: squirem @ 2013-06-26 16:56 UTC (permalink / raw)
  To: meta-freescale

Daiane Angolini <daiane.angolini@...> writes:

> Do you know your board revision and chip TO?

I see the following labels on the board:
SCH-27516 Rev C1
700-27516 Rev A

> Let me bitbake and test core-image-sato-sdk.
I suspect I may be doing something wrong, the core-image-sato-sdk will 
probably work for you. I'm going to try and build the 
image directly through bitbake, instead of the hob gui, and see what 
happens. This is my build configuration:

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-16"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        
meta-yocto-bsp    
meta-hob          
meta-fsl-arm-dylan = "<unknown>:<unknown>"

Here is how the meta-fsl-arm layer was added in my bblayers.conf file:
#added by bitbake
BBLAYERS = "/home/squirem/Desktop/poky-dylan-9.0.0/meta \
/home/squirem/Desktop/poky-dylan-9.0.0/meta-yocto \
/home/squirem/Desktop/poky-dylan-9.0.0/meta-yocto-bsp \
/home/squirem/Desktop/poky-dylan-9.0.0/meta-hob \
/home/squirem/Desktop/poky-dylan-9.0.0/meta-fsl-arm-dylan"

May I ask what steps you take in building the image?



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 16:40             ` Daiane Angolini
  2013-06-26 16:56               ` squirem
@ 2013-06-26 17:02               ` squirem
  2013-06-26 17:09                 ` Daiane Angolini
  1 sibling, 1 reply; 23+ messages in thread
From: squirem @ 2013-06-26 17:02 UTC (permalink / raw)
  To: meta-freescale

Daiane Angolini <daiane.angolini@...> writes:

> Do you know your board revision and chip TO?

These labes is on the chip itself:
80282           (Top-Right)
PCIMX6Q6AVI10AC (Center)
SBAE1234        (Center)
KOREA XHAE5BA   (Bottom)



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 16:56               ` squirem
@ 2013-06-26 17:07                 ` Daiane Angolini
  2013-06-26 18:49                   ` squirem
  2013-06-26 20:37                   ` squirem
  2013-06-26 17:22                 ` Otavio Salvador
  1 sibling, 2 replies; 23+ messages in thread
From: Daiane Angolini @ 2013-06-26 17:07 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On 06/26/2013 01:56 PM, squirem wrote:
> Daiane Angolini <daiane.angolini@...> writes:
>
>> Do you know your board revision and chip TO?
>
> I see the following labels on the board:
> SCH-27516 Rev C1
> 700-27516 Rev A
>
>> Let me bitbake and test core-image-sato-sdk.
> I suspect I may be doing something wrong, the core-image-sato-sdk will
> probably work for you. I'm going to try and build the
> image directly through bitbake, instead of the hob gui, and see what
> happens. This is my build configuration:
>
> Build Configuration:
> BB_VERSION        = "1.18.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Fedora-16"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "imx6qsabresd"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.4"
> TUNE_FEATURES     = "armv7a vfp neon"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp
> meta-hob
> meta-fsl-arm-dylan = "<unknown>:<unknown>"
>
> Here is how the meta-fsl-arm layer was added in my bblayers.conf file:
> #added by bitbake
> BBLAYERS = "/home/squirem/Desktop/poky-dylan-9.0.0/meta \
> /home/squirem/Desktop/poky-dylan-9.0.0/meta-yocto \
> /home/squirem/Desktop/poky-dylan-9.0.0/meta-yocto-bsp \
> /home/squirem/Desktop/poky-dylan-9.0.0/meta-hob \
> /home/squirem/Desktop/poky-dylan-9.0.0/meta-fsl-arm-dylan"
>
> May I ask what steps you take in building the image?

Sure:

I follow the steps from
https://github.com/Freescale/fsl-community-bsp-platform


$ ./repo init -u https://github.com/Freescale/fsl-community-bsp-platform 
-b dylan
$ ./repo sync
$ source ./setup-environment build
$ MACHINE="imx6qsabresd" bitbake core-image-minimal


I'm not used with HOB, in fact...


-- 
Daiane



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 17:02               ` squirem
@ 2013-06-26 17:09                 ` Daiane Angolini
  0 siblings, 0 replies; 23+ messages in thread
From: Daiane Angolini @ 2013-06-26 17:09 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On 06/26/2013 02:02 PM, squirem wrote:
> Daiane Angolini <daiane.angolini@...> writes:
>
>> Do you know your board revision and chip TO?
>
> These labes is on the chip itself:
> 80282           (Top-Right)
> PCIMX6Q6AVI10AC (Center)
> SBAE1234        (Center)
> KOREA XHAE5BA   (Bottom)
>

My image is still baking. I want to make sure I cannot (or can) 
reproduce your issue before say something about it.


-- 
Daiane



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 16:56               ` squirem
  2013-06-26 17:07                 ` Daiane Angolini
@ 2013-06-26 17:22                 ` Otavio Salvador
  2013-06-26 18:25                   ` squirem
  2013-06-27 13:46                   ` squirem
  1 sibling, 2 replies; 23+ messages in thread
From: Otavio Salvador @ 2013-06-26 17:22 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On Wed, Jun 26, 2013 at 1:56 PM, squirem <squirem@fbdfrozen.com> wrote:
> Daiane Angolini <daiane.angolini@...> writes:
>
>> Do you know your board revision and chip TO?
>
> I see the following labels on the board:
> SCH-27516 Rev C1
> 700-27516 Rev A
>
>> Let me bitbake and test core-image-sato-sdk.
> I suspect I may be doing something wrong, the core-image-sato-sdk will
> probably work for you. I'm going to try and build the
> image directly through bitbake, instead of the hob gui, and see what
> happens. This is my build configuration:

Oh; HOB might be doing something messy here.

Please confirm it does work using bitbake so I can check it.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 17:22                 ` Otavio Salvador
@ 2013-06-26 18:25                   ` squirem
  2013-06-27 13:46                   ` squirem
  1 sibling, 0 replies; 23+ messages in thread
From: squirem @ 2013-06-26 18:25 UTC (permalink / raw)
  To: meta-freescale

Otavio Salvador <otavio@...> writes:

> Please confirm it does work using bitbake so I can check it.

No luck, it doesn't seem the issue is related to hob. I'll try the steps 
Daiane linked to on the fsl-community-bsp-platform github page and see how 
that works out.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 17:07                 ` Daiane Angolini
@ 2013-06-26 18:49                   ` squirem
  2013-06-26 20:37                   ` squirem
  1 sibling, 0 replies; 23+ messages in thread
From: squirem @ 2013-06-26 18:49 UTC (permalink / raw)
  To: meta-freescale

Daiane Angolini <daiane.angolini@...> writes:

> I follow the steps from
> https://github.com/Freescale/fsl-community-bsp-platform
> 
> $ ./repo init -u https://github.com/Freescale/fsl-community-bsp-platform 
> -b dylan
> $ ./repo sync
> $ source ./setup-environment build
> $ MACHINE="imx6qsabresd" bitbake core-image-minimal

Thank you. I'm in the process of trying this myself. I have a feeling the 
instructions you linked to will work. I'll update you on the results.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 17:07                 ` Daiane Angolini
  2013-06-26 18:49                   ` squirem
@ 2013-06-26 20:37                   ` squirem
  2013-06-27 11:23                     ` Daiane Angolini
  1 sibling, 1 reply; 23+ messages in thread
From: squirem @ 2013-06-26 20:37 UTC (permalink / raw)
  To: meta-freescale

Daiane Angolini <daiane.angolini@...> writes:

> I follow the steps from
> https://github.com/Freescale/fsl-community-bsp-platform
> 
> $ ./repo init -u https://github.com/Freescale/fsl-community-bsp-platform 
> -b dylan
> $ ./repo sync
> $ source ./setup-environment build
> $ MACHINE="imx6qsabresd" bitbake core-image-minimal
> 
> I'm not used with HOB, in fact...
> 

Hello Daiane,
The sdcard image generated by poky seems to work. However, I first tried 
dd'ing u-boot, the kernel, and rootfs individually and I received the 
"missing devtmpfs" error. This means the issue has something to do with how I 
copied the images to the SD card. I must, how exactly is that SD card image 
put together?



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 20:37                   ` squirem
@ 2013-06-27 11:23                     ` Daiane Angolini
  2013-06-27 13:34                       ` squirem
  0 siblings, 1 reply; 23+ messages in thread
From: Daiane Angolini @ 2013-06-27 11:23 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On Wed, Jun 26, 2013 at 5:37 PM, squirem <squirem@fbdfrozen.com> wrote:
> Daiane Angolini <daiane.angolini@...> writes:
>
>> I follow the steps from
>> https://github.com/Freescale/fsl-community-bsp-platform
>>
>> $ ./repo init -u https://github.com/Freescale/fsl-community-bsp-platform
>> -b dylan
>> $ ./repo sync
>> $ source ./setup-environment build
>> $ MACHINE="imx6qsabresd" bitbake core-image-minimal
>>
>> I'm not used with HOB, in fact...
>>
>
> Hello Daiane,
> The sdcard image generated by poky seems to work. However, I first tried
> dd'ing u-boot, the kernel, and rootfs individually and I received the
> "missing devtmpfs" error. This means the issue has something to do with how I
> copied the images to the SD card. I must, how exactly is that SD card image
> put together?

Exactly, you can find it here:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/classes/image_types_fsl.bbclass

From your log

Waiting for root device /dev/mmcblk1p1...
mmc2: new high speed SDHC card at address aaaa
mmcblk1: mmc2:aaaa SU08G 7.40 GiB
 mmcblk1: p1
EXT3-fs (mmcblk1p1): error: couldn't mount because of unsupported optional
features (240)
EXT2-fs (mmcblk1p1): error: couldn't mount because of unsupported optional
features (240)
EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:25.

it seems your rootfs was properly mounted. However I don't see those
ext2/ext3 errors on my log:


 Waiting for root device /dev/mmcblk1p2...
mmc2: new SDHC card at address d3db
mmcblk1: mmc2:d3db SD04G 3.69 GiB
 mmcblk1: p1 p2
EXT3-fs (mmcblk1p2): warning: feature flags set on rev 0 fs, running
e2fsck is recommended
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk1p2): warning: updating to rev 1 because of new feature
flag, running e2fsck is recommended
EXT3-fs (mmcblk1p2): using internal journal
EXT3-fs (mmcblk1p2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:26.
devtmpfs: mounted
Freeing init memory: 204K
INIT: version 2.88 booting
Starting udev

Would if be some partition table issue?

Daiane


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-27 11:23                     ` Daiane Angolini
@ 2013-06-27 13:34                       ` squirem
  2013-06-27 13:37                         ` Daiane Angolini
  0 siblings, 1 reply; 23+ messages in thread
From: squirem @ 2013-06-27 13:34 UTC (permalink / raw)
  To: meta-freescale

Daiane Angolini <daiane.list@...> writes:

> Would if be some partition table issue?

I believe so. I notice that the SD card image generated by poky contains two 
partitions: the boot partition and the root fileystem partition, while my SD 
card only contained a single partion.

This was my disk layout:
Sectors 0-1:        Protected
Sectors 2-2047:     u-boot
Sectors 2048-16385: uImage
Sectors 16384-...:  First partition + start of root fileysystem

I was basically following the same procedures as when I was using LTIB, which 
apparently does not work here.

I appreciate the help.

Best regards,
Saddam Quirem



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-27 13:34                       ` squirem
@ 2013-06-27 13:37                         ` Daiane Angolini
  0 siblings, 0 replies; 23+ messages in thread
From: Daiane Angolini @ 2013-06-27 13:37 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On Thu, Jun 27, 2013 at 10:34 AM, squirem <squirem@fbdfrozen.com> wrote:
> Daiane Angolini <daiane.list@...> writes:
>
>> Would if be some partition table issue?
>
> I believe so. I notice that the SD card image generated by poky contains two
> partitions: the boot partition and the root fileystem partition, while my SD
> card only contained a single partion.
>
> This was my disk layout:
> Sectors 0-1:        Protected
> Sectors 2-2047:     u-boot
> Sectors 2048-16385: uImage
> Sectors 16384-...:  First partition + start of root fileysystem
>
> I was basically following the same procedures as when I was using LTIB, which
> apparently does not work here.

The difference would be only u-boot default bootenv configuration. If
you're setting everything
by hand, it would be easy to you to modify your u-boot parameters.


I'm still working on bitbake core-image-sato-sdk. I faced a build
error in one package (perl or something like that)
so I was not able to test it yet.

Daiane


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-26 17:22                 ` Otavio Salvador
  2013-06-26 18:25                   ` squirem
@ 2013-06-27 13:46                   ` squirem
  1 sibling, 0 replies; 23+ messages in thread
From: squirem @ 2013-06-27 13:46 UTC (permalink / raw)
  To: meta-freescale

Otavio Salvador <otavio@...> writes:

> Please confirm it does work using bitbake so I can check it.

It seems the issue was with how I set up my partitions. The instructions 
Daiane linked to worked.

I appreciate the help.

Best regards,
Saddam Quirem



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image
  2013-06-24 21:50 Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image squirem
  2013-06-25 20:28 ` Otavio Salvador
@ 2013-06-29 21:09 ` Trevor Woerner
  1 sibling, 0 replies; 23+ messages in thread
From: Trevor Woerner @ 2013-06-29 21:09 UTC (permalink / raw)
  To: squirem; +Cc: meta-freescale

On 24 June 2013 17:50, squirem <squirem@fbdfrozen.com> wrote:
> When that was finished I begin copying over the bootloader, kernel, and
> rootfs in the following order:
> sudo dd if=u-boot.imx of=/dev/sdc bs=512 skip=0 seek=2 conv=fsync
> sudo dd if=uImage of=/dev/sdc bs=512 skip=0 seek=2048 conv=fsync
> sudo fdisk /dev/sdc (made new primary partition at sector 16384)
> sudo mkfs.ext4 /dev/sdc1
> sudo tar --numeric-owner -xzvf /home/user/Desktop/poky-dylan-
> 9.0.0/build/tmp/deploy/images/core-image-sato-sdk-imx6qsabresd.tar.gz


You should be able to just:

$ sudo dd if=tmp/deploy/images/core-image-minimal-imx6qsabresd.sdcard /dev/sdc

and have a working sdcard without having to do all that other stuff.


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2013-06-29 21:09 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-24 21:50 Missing devtmpfs w/ i.MX6Q SabreSD sato-sdk image squirem
2013-06-25 20:28 ` Otavio Salvador
2013-06-25 21:49   ` squirem
2013-06-26 13:49   ` squirem
2013-06-26 13:56     ` Otavio Salvador
2013-06-26 14:09       ` Luo Zhenhua-B19537
2013-06-26 14:22         ` Daiane Angolini
2013-06-26 15:03           ` squirem
2013-06-26 16:40             ` Daiane Angolini
2013-06-26 16:56               ` squirem
2013-06-26 17:07                 ` Daiane Angolini
2013-06-26 18:49                   ` squirem
2013-06-26 20:37                   ` squirem
2013-06-27 11:23                     ` Daiane Angolini
2013-06-27 13:34                       ` squirem
2013-06-27 13:37                         ` Daiane Angolini
2013-06-26 17:22                 ` Otavio Salvador
2013-06-26 18:25                   ` squirem
2013-06-27 13:46                   ` squirem
2013-06-26 17:02               ` squirem
2013-06-26 17:09                 ` Daiane Angolini
2013-06-26 14:20       ` Daiane Angolini
2013-06-29 21:09 ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.