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 Unable to Bring up Linux Kernel
  • 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 2 replies
  • Subscribers 329 subscribers
  • Views 332 views
  • Users 0 members are here
Related

Unable to Bring up Linux Kernel

Former Member
Former Member over 8 years ago

Hello,

I have a Microzed I'm trying to bring up Linux on.  I have a boot.bin on a SD card.  I've compiled a custom fsbl, u-boot, kernel, dts/dtb, and sd partition with a linux distro.

The thing that is baffles me is that once the kernel is loaded from u-boot, and the bootm command is issued, it goes quiet.  With a premade kernel (the one from wind river) it at least boots some before getting to "bootconsole [earlycon0] disabled." They both are using the same dts/dtb too. 

The thing that really gets me is that I follow the Xilinx wiki articles on this and have done it before with a zc706 and brought every up just fine.  But for some reason the kernel is giving me grief which was the easiest thing out of what I did before with the zc706. 

I have scripts to build everything since I find that's the easiest way to do things (and most consistent).  What I have for the kernel is:

 . /opt/xilinx/SDK/2016.2/settings64.sh
export PATH=../u-boot-xlnx/tools:$PATH
export ARCH=arm
export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
make clean
make ARCH=arm xilinx_zynq_defconfig
#make ARCH=arm menuconfig
make ARCH=arm -j 16 UIMAGE_LOADADDR=0x8000 uImage
 

I've tried changing some stuff around in menuconfig but I haven't gotten anywhere.  I've rebuild the fsbl and haven't had any luck either.   Any ideas?

Thanks

edit: yes, I have earlyprintk in the dts bootargs

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 8 years ago

    Hello bwoods288,

    Do you know which release tag of the source code you are using?  If development and patches are happening in HEAD, then it is very possible that the latest and greatest kernel source on the Xilinx Github is a bit broken.

    Have you tried using the MicroZed PetaLinux BSP with Xilinx PetaLinux tools as a reference for building the kernel?  If going that route works for getting a working kernel, then it gives you a reference point (and a kernel release tag) that you can reuse for your scripted flow.  Once you have the working reference point, then you would also have the option work forward to an even newer version of the kernel if desired.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to zedhed

    I checked out the 2016.2 release and it booted just fine (well after I fixed the root= arg and did some mknods).   Thanks, I never would have thought I'd need to have done that.  You live and you learn.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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