[Bug 1030594] Re: enable flat device tree support

Bryce Harrington 1030594 at bugs.launchpad.net
Thu Aug 16 18:34:41 UTC 2012


** Description changed:

- Please add a build-dep on libfdt-dev, which will add flat device tree
- support to qemu. This will let users pass the '-dtb' command line
- option, allowing us to specify a device tree file. Though it is
- supposedly possible to pass a dtb file to the instance by appending it
- to the zImage, I've been unable to get this to work (even with
- CONFIG_ARM_APPENDED_DTB=y). The -dtb method is more straightforward and
- I've been able to boot a highbank target with it (and the patch
- referenced in #1030588):
+ [Impact]
  
- ubuntu at server-1343577662-az-3-region-a-geo-1:~$ sudo qemu-system-arm -nographic -M highbank -m 4089 -kernel ~/vmlinuz-3.2.0-2000-highbank -append console=ttyAMA0 -dtb ~/highbank.dtb 
+ [Fix]
+ 
+ [Test Case]
+ 
+ [Regression Potential]
+ 
+ [Original Report]
+ Please add a build-dep on libfdt-dev, which will add flat device tree support to qemu. This will let users pass the '-dtb' command line option, allowing us to specify a device tree file. Though it is supposedly possible to pass a dtb file to the instance by appending it to the zImage, I've been unable to get this to work (even with CONFIG_ARM_APPENDED_DTB=y). The -dtb method is more straightforward and I've been able to boot a highbank target with it (and the patch referenced in #1030588):
+ 
+ ubuntu at server-1343577662-az-3-region-a-geo-1:~$ sudo qemu-system-arm -nographic -M highbank -m 4089 -kernel ~/vmlinuz-3.2.0-2000-highbank -append console=ttyAMA0 -dtb ~/highbank.dtb
  l2x0_priv_write: Bad offset 900
  l2x0_priv_write: Bad offset 904
  Booting Linux on physical CPU 0
  Linux version 3.2.0-2000-highbank (buildd at nikusui) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu3) ) #1-Ubuntu SMP PREEMPT Tue Mar 27 01:49:53 UTC 2012 (Ubuntu 3.2.0-2000.1-highbank 3.2.12)
  CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d
  [...]

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1030594

Title:
  enable flat device tree support

Status in “qemu-linaro” package in Ubuntu:
  New
Status in “qemu-linaro” source package in Precise:
  New
Status in “qemu-linaro” source package in Quantal:
  New

Bug description:
  [Impact]

  [Fix]

  [Test Case]

  [Regression Potential]

  [Original Report]
  Please add a build-dep on libfdt-dev, which will add flat device tree support to qemu. This will let users pass the '-dtb' command line option, allowing us to specify a device tree file. Though it is supposedly possible to pass a dtb file to the instance by appending it to the zImage, I've been unable to get this to work (even with CONFIG_ARM_APPENDED_DTB=y). The -dtb method is more straightforward and I've been able to boot a highbank target with it (and the patch referenced in #1030588):

  ubuntu at server-1343577662-az-3-region-a-geo-1:~$ sudo qemu-system-arm -nographic -M highbank -m 4089 -kernel ~/vmlinuz-3.2.0-2000-highbank -append console=ttyAMA0 -dtb ~/highbank.dtb
  l2x0_priv_write: Bad offset 900
  l2x0_priv_write: Bad offset 904
  Booting Linux on physical CPU 0
  Linux version 3.2.0-2000-highbank (buildd at nikusui) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu3) ) #1-Ubuntu SMP PREEMPT Tue Mar 27 01:49:53 UTC 2012 (Ubuntu 3.2.0-2000.1-highbank 3.2.12)
  CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d
  [...]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-linaro/+bug/1030594/+subscriptions



More information about the Ubuntu-sponsors mailing list