Bug 6859

Summary: bsp created for beaglebone references beagleboard in conf file
Product: [Build System, Metadata & Runtime] BSPs Reporter: Vishnu <vishnupatekar0510>
Component: bsps-meta-yoctoAssignee: Tom Zanussi <tom.zanussi>
Status: VERIFIED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, vishnupatekar0510
Version: 1.6.1   
Target Milestone: 1.8 M3   
Hardware: BeagleBone   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Vishnu 2014-10-20 22:56:52 UTC
I've created the bsp for beaglebone using "yocto-bsp create" tool, it references the beagleboard in myboneblack.conf, after build it fails to boot.

It should reference the Beaglebone and not beagleboard.
conf file is at:
https://github.com/vishnupatekar/meta-myboneblack/blob/master/conf/machine/myboneblack.conf


e.g. in conf file
1.  KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/omap3-beagle.dts ${S}/arch/arm/boot/dts/omap3-beagle-xm.dts"


2. SERIAL_CONSOLE = "115200 ttyO2" it should be ttyO0.


Below is bsp creation log:
-----------------------------------------------------------

vishnu@vishnu-Inspiron-N4010:~/yocto/yoctobone/build$ yocto-bsp create myboneblack arm
Checking basic git connectivity...
Done.

Would you like to use the default (3.14) kernel? (y/n) [default: y] n
Please choose the kernel to use in this BSP: [default: linux-yocto_3.14]
	1) linux-yocto-tiny_3.14
	2) linux-yocto-dev
	3) linux-yocto_3.10
	4) linux-yocto_3.14
	5) linux-yocto-tiny_3.10
	6) linux-yocto-rt_3.10
	7) custom
2
Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] n
Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-dev.git...
Please choose a machine branch to base this BSP on: [default: standard/base]
	1) standard/arm-versatile-926ejs
	2) standard/base
	3) standard/beagleboard
	4) standard/beaglebone
	5) standard/ck
	6) standard/crownbay
	7) standard/edf
	8) standard/edgerouter
	9) standard/fishriver
	10) standard/fsl-mpc8315e-rdb
	11) standard/minnow
	12) standard/mti-malta32
	13) standard/mti-malta64
	14) standard/qemuppc
	15) standard/routerstationpro
	16) standard/sys940x
4
Would you like SMP support? (y/n) [default: y] 
Which machine tuning would you like to use? [default: tune_cortexa8]
	1) arm1136jf-s tuning optimizations
	2) arm920t tuning optimizations
	3) arm926ejs tuning optimizations
	4) arm9tdmi tuning optimizations
	5) cortexa5 tuning optimizations
	6) cortexa7 tuning optimizations
	7) cortexa8 tuning optimizations
	8) cortexa9 tuning optimizations
	9) cortexa15 tuning optimizations
	10) cortexm1 tuning optimizations
	11) cortexm3 tuning optimizations
	12) cortexr4 tuning optimizations
	13) ep9312 tuning optimizations
	14) iwmmxt tuning optimizations
	15) strongarm1100 tuning optimizations
	16) xscale tuning optimizations
7
Please specify a value for UBOOT_MACHINE: [default: omap3_beagle_config] am335x_evm_config
Please specify a value for UBOOT_ENTRYPOINT: [default: 0x80008000] 
Please specify a value for UBOOT_LOADADDRESS: [default: 0x80008000] 
Do you need support for X? (y/n) [default: y] 
Does your BSP have a touchscreen? (y/n) [default: n] 
Does your BSP have a keyboard? (y/n) [default: y] 

New arm BSP created in meta-myboneblack
Comment 1 Stephen K Jolley 2014-10-23 14:47:11 UTC
Verify in Master Also.
Comment 2 Vishnu 2014-10-27 03:12:07 UTC
Verified in master result is same as before.
Comment 3 Tom Zanussi 2015-01-27 22:00:58 UTC
Fixed by 1.7 update finally pulled in: 0cc9a12ff855ad472c082efc429043208112b888
Comment 4 Alexandru Georgescu 2015-02-13 09:29:31 UTC
Hi Vishnu,
Can you verify and see if the fix is correct?
Comment 5 Alexandru Georgescu 2015-03-26 06:25:38 UTC
(In reply to comment #2)
> Verified in master result is same as before.


Kind reminder
Comment 6 Alexandru Georgescu 2015-03-26 06:59:23 UTC
(In reply to comment #3)
> Fixed by 1.7 update finally pulled in:
> 0cc9a12ff855ad472c082efc429043208112b888

Verified with master: 5c76cebc24675edb3dff473fce9b67cedff615db

SERIAL_CONSOLE = "115200 ttyO0"

PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev"


KERNEL_IMAGETYPE = "uImage"
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"