element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Configuring Minized Petalinux Wi-Fi with custom PL
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 18 replies
  • Subscribers 332 subscribers
  • Views 2984 views
  • Users 0 members are here
Related

Configuring Minized Petalinux Wi-Fi with custom PL

caheike1
caheike1 over 8 years ago

I programmed my logic into the PL on a minized and using the petalinux tools configured a 4.9 version of petalinux for it.  Linux and the PL work well, except networking.  The wifi.sh script that came with the minized does a ‘modprobe bcmdhd’.   This appears to be a custom kernel module that contains the Wi-Fi drivers.  I am unable to find the source for the module so that I can build it myself  or to configure the kernel to support this Wi-Fi chip without the module.  Also,  I would also like to get a copy of the configuration files for the petalinux kernel and rootfs that matches the image.ub that comes with the board so that I can create my own image.ub using my version of the PL.   Has anyone successfully built a petalinux image.ub and gotten Wi-Fi to work?    Does anyone know where to get the stock petalinux configuration files?

  • Sign in to reply
  • Cancel

Top Replies

  • caheike1
    caheike1 over 8 years ago in reply to stefanrousseau +2
    That’s exactly what I needed. I looked for a the correct BSP on the Xilinx website, and could not find a minized version. I failed to look at the minized reference designs. I am now able to install petalinux…
  • stefanrousseau
    stefanrousseau over 8 years ago +1 verified
    On the MiniZed page ( http://zedboard.org/product/minized ) under Reference Designs you will find the PetaLinux 2017.2 BSP. If you create a new project with petalinux-create -t project -n minized -s MiniZed…
  • stefanrousseau
    stefanrousseau over 7 years ago +1
    If you are having issues with the MiniZed JTAG, you could make sure you are able to program by following the steps in the " Restore QSPI and eMMC Factory Images " document under Documents on the MiniZed…
Parents
  • andycap
    0 andycap over 7 years ago

    Thanks to Stefan and Josh I have managed to get this going without having to use the JTAG.

     

    So as Stefan says as long as you have WIFI going on the board you can do it all over WIFI (thanks very much Stefan)

     

    If you are changing the u-boot or bitstream you need a boot.bin file, you can get it like this:

     

    petalinux-package --boot --fsbl 'images/linux/zynq_fsbl.elf' --fpga 'images/linux/minized_petalinux_wrapper.bit' --u-boot

     

     

    You need to copy these files to the minized over wifi (mine is at 192.168.1.105):

     

    scp images/linux/BOOT.BIN root@192.168.1.105:/mnt/emmc/smallboot.bin

    scp images/linux/image.ub  root@192.168.1.105:/mnt/emmc/image.ub

     

     

    Then if you have changed the boot.bin you need to copy it to the QSPI on the minized:

     

    flashcp /mnt/emmc/smallboot.bin /dev/mtd0

     

    Then reboot the minized with fingers crossed.

     

    Andy

     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • andycap
    0 andycap over 7 years ago

    Thanks to Stefan and Josh I have managed to get this going without having to use the JTAG.

     

    So as Stefan says as long as you have WIFI going on the board you can do it all over WIFI (thanks very much Stefan)

     

    If you are changing the u-boot or bitstream you need a boot.bin file, you can get it like this:

     

    petalinux-package --boot --fsbl 'images/linux/zynq_fsbl.elf' --fpga 'images/linux/minized_petalinux_wrapper.bit' --u-boot

     

     

    You need to copy these files to the minized over wifi (mine is at 192.168.1.105):

     

    scp images/linux/BOOT.BIN root@192.168.1.105:/mnt/emmc/smallboot.bin

    scp images/linux/image.ub  root@192.168.1.105:/mnt/emmc/image.ub

     

     

    Then if you have changed the boot.bin you need to copy it to the QSPI on the minized:

     

    flashcp /mnt/emmc/smallboot.bin /dev/mtd0

     

    Then reboot the minized with fingers crossed.

     

    Andy

     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube