Skip to content

CPU detection. #393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ED6E0F17 opened this issue Apr 24, 2017 · 3 comments
Closed

CPU detection. #393

ED6E0F17 opened this issue Apr 24, 2017 · 3 comments

Comments

@ED6E0F17
Copy link

hello_fft relies on "/proc/device-tree/axi"
(from https://github.com/raspberrypi/userland/blob/master/host_applications/linux/libs/bcm_host/bcm_host.c#L164)
which no longer exists.

@pelwell
Copy link
Contributor

pelwell commented Apr 24, 2017

Yes, annoyingly that is the one piece of information that was used in the "axi" subtree, and it is dynamic in the sense that its value depends on the disable_l2cache config setting. It's probably necessary to restore this one property.

popcornmix added a commit to raspberrypi/firmware that referenced this issue Apr 26, 2017
See: #754
See: #794

firmware: ldconfig: Zero W is a [pi0]
See: #799

firmware: mailbox: Add property that fills in a VC_IMAGE_T header for given format and dimensions

firmware: Make vchiq_test functional test more interesting
See: raspberrypi/userland#392

firmware: di_adv: Fix regression with non-qpu deinterlace and opaque images
See: #796

firmware: bootcode: Set max_usb_current pin for B+ and Pi2
See: #661

firmware: arm_loader: Restore /axi/vc_mem/reg DT property
See: raspberrypi/userland#393
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Apr 26, 2017
See: raspberrypi/firmware#754
See: raspberrypi/firmware#794

firmware: ldconfig: Zero W is a [pi0]
See: raspberrypi/firmware#799

firmware: mailbox: Add property that fills in a VC_IMAGE_T header for given format and dimensions

firmware: Make vchiq_test functional test more interesting
See: raspberrypi/userland#392

firmware: di_adv: Fix regression with non-qpu deinterlace and opaque images
See: raspberrypi/firmware#796

firmware: bootcode: Set max_usb_current pin for B+ and Pi2
See: raspberrypi/firmware#661

firmware: arm_loader: Restore /axi/vc_mem/reg DT property
See: raspberrypi/userland#393
@popcornmix
Copy link
Contributor

Can you test latest rpi-udpate firmware?

@ED6E0F17
Copy link
Author

Working as expected. After updating just the firmware: /proc/device-tree/axi is present, and my Pi2 has a working hello_fft with "#define GPU_FFT_USE_VC4_L2_CACHE 1" enabled (set for Pi1 use).

mkreisl added a commit to xbianonpi/xbian-package-firmware that referenced this issue May 7, 2017
- firmware: bootcode: Don't let total_mem exceed sdram size
  See: #782

- firmware: bootcode: Store boot partition number in PM_SPARE

- firmware: dtoverlay: Change node address when reg is set
  See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=178721

- firmware: bootcode: Avoid PM_SPARE bit 23
  See: raspberrypi/linux#1937

- firmware: rebuild with Avoid PM_SPARE bit 23
  See: raspberrypi/linux#1937

- firmware: IL Camera: snapshot format setup incorrectly for RGB and YUYV
  See: raspberrypi/userland#388

- firmware: arm_dt/unicam: Disable VPU unicam irqs if enabled in DT
- firmware: MMAL: Add support for the missing raw12, raw16, and 10to8dpcm formats
- firmware: Camera/tuner: Allow client to override lens shading table

- firmware: Revert Set up HDMI VCO same for VEC as for HDMI
  See: #795

- bootcode: Fix failover from SD to net booting
  See: #754
  See: #794

- firmware: ldconfig: Zero W is a [pi0]
  See: #799

- firmware: mailbox: Add property that fills in a VC_IMAGE_T header for given format and dimensions

- firmware: Make vchiq_test functional test more interesting
  See: raspberrypi/userland#392

- firmware: di_adv: Fix regression with non-qpu deinterlace and opaque images
  See: #796

- firmware: bootcode: Set max_usb_current pin for B+ and Pi2
  See: #661

- firmware: arm_loader: Restore /axi/vc_mem/reg DT property
  See: raspberrypi/userland#393

- firmware: bootcode: Revert Set max_usb_current pin for B+ and Pi2
  See: #661

- firmware: dispmanx: Fix dispmanx_element_change_dest_rect in 3d mode
  See: http://forum.kodi.tv/showthread.php?tid=298461&pid=2579578#pid2579578

- firmware: isp_resize: Remove spurious turbo_cookie_isp assert
  See: #806

- firmware: ISP ctrl: Round up end address to avoid asserts
- firmware: IL ISP: Accept user specified stride on output port
- firmware: IL Rawcam: Don't fail on unicam->close failure
- firmware: IL source: Allow user specified strides
  See: #806
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants