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
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Debian wheezy on RIoTboard
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 20 replies
  • Subscribers 24 subscribers
  • Views 1991 views
  • Users 0 members are here
  • debian
  • riotboard
  • riot
  • wheezy
Related

Debian wheezy on RIoTboard

Former Member
Former Member over 11 years ago

I'm not quite ready to post the next pieces, but thought you might like to see where I've got to:

 

image

running XFCE 4.8 here.

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

    howto?

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

    Not yet image

    I'm still working through it myself, trying to document things as I go.  Watch out for my blog posts in the RIoTboard area as I walk through the various different steps.

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

    Great work!

     

    I´m really looking forward to your documentation.

    Mainly because I didn´t get the mainline Kernel to work by now.image

     

    By the way. What Image of Debian did you use?

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

    For that I used one of Robert Nelsons minimal filesystem builds from his wandboard page, then did the update from 7.4 to 7.5 and installed xfce, mostly as a proof of concept and to show that there is light at the end of the tunnel image

     

    I'm running through how to do it myself using debootstrap now in an effort to get less junk and more useful things installed.  I'm not very familiar with Debian installs, so it's a bit of trial and error right now.

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

    Did you use your u-boot fork or Nelson's?

     

    Somehow build_kernel.sh doesn't produce anything for me, doesn't give an error either.

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

    It's using the mainline u-boot v2014.04 with Erics RIoTboard patches and the couple of changes I made, you can find the exact version in my github repo here

    https://github.com/selsinork/u-boot/commits/embest-boards-fixes

     

    Somehow build_kernel.sh doesn't produce anything for me, doesn't give an error either.

    I don't know what build_kernel.sh is or where it came from, so unfortunately I can't help you with it.

     

    I try not to rely on black-magic scripts, instead I'll try to do everything step-by-step showing the exact commands I used.  I'm hoping that means that people will learn how to do things themselves as well as giving them the opportunity to customise things at every step for their own purposes.

     

    Hopefully at the end of it all I can create an image that anyone who doesn't want to do it manually can just write to an SD card and use.

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

    I meant build_kernel.sh from Robert Nelson's wandboard tutorial (with his armv7 generic kernel).

     

    I have your u-boot fork working, I just need to understand now how u-boot finds the kernel to boot? is it a fixed address? is that what that LOADADDR in the uImage build is for?

     

    I'm also trying your linux fork, btw the riotboard-dts2 branch has a bug in arch/arm/boot/dts/Makefile  line 207 is missing the suffix "imx6s-riotboard.dtb"

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

    Daniel Tralamazza wrote:

     

    I meant build_kernel.sh from Robert Nelson's wandboard tutorial (with his armv7 generic kernel).

     

    Ok, I don't use that, and I won't.  I respect Robert for a lot of the work he does, but IMHO that's the wrong way to do things.

     

    I have your u-boot fork working, I just need to understand now how u-boot finds the kernel to boot? is it a fixed address? is that what that LOADADDR in the uImage build is for?

    Don't use uImage...   It's unnecessary and gives you a double problem in recent kernels where you appear to have to specify the load address in several places and then the kernel will ignore it all regardless.

     

     

    I'm also trying your linux fork, btw the riotboard-dts2 branch has a bug in arch/arm/boot/dts/Makefile  line 207 is missing the suffix "imx6s-riotboard.dtb"

    Yes it does doesn't it.  I was wondering if anyone would notice image

    Next steps on kernel build are here http://www.element14.com/community/community/knode/single-board_computers/riotboard/blog/2014/05/04/part-3-building-mainline-linux-kernel-for-riotboard

     

     

    If you're using my u-boot version, then it simply looks for a file called /bootscript in the root of the first partition on each of J6, J7 & eMMC, loads the content into the environment and runs the environment variable called 'doboot'.  The idea is to punt as much of the decisions as possible to the script instead of the hard-coded part inside u-boot.

     

    I'll attached the current /bootscript I'm using here in a minute - I don't seem to have the option in this editor.  It loads a zImage not a uImage at 0x12000000 from the same mmc device that /bootscript was loaded from.

    It has some issues in that you might have an SD card installed that doesn't have /bootscript, so end up loading the kernel from eMMC, but then by having /dev/mmcblk0p1 hard-coded you'll get your root partition from the SD card.  I'll sort that out later - it's why I modified my u-boot build to include the part command.

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

    Attaching a file seems to be rather problematic..

    Attachments:
    bootscript.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Former Member

    You probably want to add "rw" to your bargs.

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