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 Getting started with custom VHDL and Linux
  • 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 Not Answered
  • Replies 7 replies
  • Subscribers 329 subscribers
  • Views 1355 views
  • Users 0 members are here
Related

Getting started with custom VHDL and Linux

Former Member
Former Member over 11 years ago

Hello all,
I'm just getting started with a zedboard where I have to write some application software. So I'm fine with using the standard Linux that comes with it. But the thing is that our electronics guy has to write a custom VHDL for it.

What does he need to give me exactly to put on the card ? A boot.bin and a dts file ? Is that all ?

So after I convert the dts to dtd, all I need to have on the card is:
System.map
boot.bin
devicetree.dtb
uImage
uramdisk.image.gz

Is that correct or do I need to recreate the files (System.map, uImage, uramdisk) as well ?
Thanks

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 11 years ago

    OK, almost there. I now get to:

    ...
    [   12.877328] TCP: cubic registered
    [   12.877329] NET: Registered protocol family 17
    [   12.877330] Registering SWP/SWPB emulation handler
    [   12.877331] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    [   12.877335] mmc0: new high speed SDHC card at address 59b4
    [   12.877336] Freeing unused kernel memory: 196K (c0672000 - c06a3000)
    [   12.877339] mmcblk0: mmc0:59b4 NCard 14.7 GiB
    [   12.877340]  mmcblk0: p1
    INIT: version 2.88 booting
    Starting Bootlog daemon: bootlogd.
    Creating /dev/flash/* device nodes
    [   12.877351] random: dd urandom read with 7 bits of entropy available
    Configuring network interfaces... [   12.877347] xemacps e000b000.ps7-ethernet: eth0: no PHY found
    [   12.877348] xemacps e000b000.ps7-ethernet: XEMACPS mii bus mii_probe fail.
    ifconfig: SIOCSIFFLAGS: No such device or address
    starting Busybox inet Daemon: inetd... done.
    INIT: Entering runlevel: 5
    Starting Dropbear SSH server: Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
    Generating key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCdzj9ip66OT9BEuPp3x+ptaq1YlJYwNul3M7KMQx4DWdgO+TMYL4nauHb0HHJcO8cUJvbvDmRqc6afaJ34n80N4lUVrGkLrO5g3lJq
    Fingerprint: md5 3b:86:db:74:04:36:38:a0:f1:67:18:54:41:7a:5f:8c
    dropbear.
    Stopping Bootlog daemon: bootlogd.
    Starting tcf-agent: OK

    INIT: Id "PS0" respawning too fast: disabled for 5 minutes
    INIT: no more processes left in this runlevel
    INIT: Id "PS0" respawning too fast: disabled for 5 minutes


    But then it hangs. I'm using serial port 1 instead of 0, as shown in the dts file:
    bootargs = "console=ttyPS1,115200 root=/dev/ram rw earlyprintk";
    linux,stdout-path = "/amba@0/serial@e0001000";
    Could that be the reason (say init expects the console to be on port 0). Any other idea ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago

    OK, almost there. I now get to:

    ...
    [   12.877328] TCP: cubic registered
    [   12.877329] NET: Registered protocol family 17
    [   12.877330] Registering SWP/SWPB emulation handler
    [   12.877331] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    [   12.877335] mmc0: new high speed SDHC card at address 59b4
    [   12.877336] Freeing unused kernel memory: 196K (c0672000 - c06a3000)
    [   12.877339] mmcblk0: mmc0:59b4 NCard 14.7 GiB
    [   12.877340]  mmcblk0: p1
    INIT: version 2.88 booting
    Starting Bootlog daemon: bootlogd.
    Creating /dev/flash/* device nodes
    [   12.877351] random: dd urandom read with 7 bits of entropy available
    Configuring network interfaces... [   12.877347] xemacps e000b000.ps7-ethernet: eth0: no PHY found
    [   12.877348] xemacps e000b000.ps7-ethernet: XEMACPS mii bus mii_probe fail.
    ifconfig: SIOCSIFFLAGS: No such device or address
    starting Busybox inet Daemon: inetd... done.
    INIT: Entering runlevel: 5
    Starting Dropbear SSH server: Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
    Generating key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCdzj9ip66OT9BEuPp3x+ptaq1YlJYwNul3M7KMQx4DWdgO+TMYL4nauHb0HHJcO8cUJvbvDmRqc6afaJ34n80N4lUVrGkLrO5g3lJq
    Fingerprint: md5 3b:86:db:74:04:36:38:a0:f1:67:18:54:41:7a:5f:8c
    dropbear.
    Stopping Bootlog daemon: bootlogd.
    Starting tcf-agent: OK

    INIT: Id "PS0" respawning too fast: disabled for 5 minutes
    INIT: no more processes left in this runlevel
    INIT: Id "PS0" respawning too fast: disabled for 5 minutes


    But then it hangs. I'm using serial port 1 instead of 0, as shown in the dts file:
    bootargs = "console=ttyPS1,115200 root=/dev/ram rw earlyprintk";
    linux,stdout-path = "/amba@0/serial@e0001000";
    Could that be the reason (say init expects the console to be on port 0). Any other idea ?

    • 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