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 the source code of 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
  • State Suggested Answer
  • Replies 12 replies
  • Answers 2 answers
  • Subscribers 25 subscribers
  • Views 1919 views
  • Users 0 members are here
Related

the source code of RiotBoard

Former Member
Former Member over 10 years ago

I've bought a riotboard which combined with imx6 solo.   Now I want the sourcecode of its uboot and linux, in case I want to unload some drivers to lower my power consumpution.  would u please give me a link to download or mail me the source?

  • Sign in to reply
  • Cancel

Top Replies

  • radiatortwo
    radiatortwo over 10 years ago in reply to Former Member +1
    "could not find distclean" means the code doesn´t have a make option for distclean. You can try "make clean" instead. But if you just checked the code out from github you normally don´t need to execute…
Parents
  • clem57
    0 clem57 over 10 years ago

    plz download user manual here

     

    user manual comes with build instructions and other details for getting started.

    use links below at linux terminal to pull toolchain,uboot and kernel from our repository.

     

      git clone git://github.com/embest-tech/fsl-linaro-toolchain.git

      git clone git://github.com/embest-tech/u-boot-imx.git -b embest_imx_3.0.35_4.0.0

      git clone git://github.com/embest-tech/linux-imx.git -b embest_imx_3.0.35_4.0.0

     

    let us know if u have challenges in build.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    I use the link below to download the sourcecode and compile:

    git clone git://github.com/embest-tech/fsl-linaro-toolchain.git

      git clone git://github.com/embest-tech/u-boot-imx.git -b embest_imx_3.0.35_4.0.0

      git clone git://github.com/embest-tech/linux-imx.git -b embest_imx_3.0.35_4.0.0

    The system told me that they can't find distclean when i compiled uboot.

    then I change the toolchain to another one which freescale gives to me which help me to access the compile.

    when i start the kernel there comes new  problems below:

     

    the following was the serial port print:

     

    Unable to handle kernel NULL pointer dereference at virtual address 00000001

    pgd = 80004000

    [00000001] *pgd=00000000

    Internal error: Oops: 5 [#1] PREEMPT SMP

    Modules linked in:

    CPU: 0    Not tainted  (3.0.35-02887-g731b440-dirty #7)

    PC is at kmem_cache_alloc+0xa4/0x108

    LR is at con_insert_unipair+0xb8/0x104

    pc : [<800f325c>]    lr : [<802897a0>]    psr: 60000093

    sp : bff83ef0  ip : bff82000  fp : 00000001

    r10: 00000000  r9 : 0bfcd000  r8 : 20000013

    r7 : 000000d0  r6 : bfff9300  r5 : 00000001  r4 : 80ab9cc0

    r3 : 8003e5a0  r2 : 80ab9cc0  r1 : 000024a8  r0 : 00000001

    Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

    Control: 10c53c7d  Table: 1000404a  DAC: 00000015

    Process swapper (pid: 1, stack limit = 0xbff822f0)

    Stack: (0xbff83ef0 to 0xbff84000)

    3ee0:                                    00002665 bfe15d64 bff6f900 00000003

    3f00: 80ae5688 80ae5686 00000003 802897a0 00000000 00000001 bff6f900 00000003

    3f20: 80ae5688 8028a3d0 00000000 80ae58e3 bfff0000 80b2f544 00000136 00000001

    3f40: 00000014 80b2f768 00000001 00000002 00000004 00000000 800224cc 800219fc

    3f60: 00000000 80b2f644 00000001 80021efc 80a18520 00000000 80b2f140 00000000

    3f80: 80043b04 00000013 00000000 00000000 00000000 80021350 809e7f90 00000000

    3fa0: 80b14100 80b14100 bff82030 8003d5c0 000001df 00000013 00000000 00000000

    3fc0: 00000039 00000000 00000270 8002fdf4 80030248 80043b04 00000013 00000000

    3fe0: 00000000 00000000 00000000 80008984 00000000 80043b04 09219820 90191c5a

    [<800f325c>] (kmem_cache_alloc+0xa4/0x108) from [<802897a0>] (con_insert_unipair+0xb8/0x104)

    [<802897a0>] (con_insert_unipair+0xb8/0x104) from [<8028a3d0>] (con_set_default_unimap+0xe8/0x178)

    [<8028a3d0>] (con_set_default_unimap+0xe8/0x178) from [<800219fc>] (console_map_init+0x44/0x50)

    [<800219fc>] (console_map_init+0x44/0x50) from [<80021efc>] (vty_init+0x18c/0x19c)

    [<80021efc>] (vty_init+0x18c/0x19c) from [<80021350>] (tty_init+0x12c/0x144)

    [<80021350>] (tty_init+0x12c/0x144) from [<8003d5c0>] (do_one_initcall+0x114/0x16c)

    [<8003d5c0>] (do_one_initcall+0x114/0x16c) from [<80008984>] (kernel_init+0xc0/0x144)

    [<80008984>] (kernel_init+0xc0/0x144) from [<80043b04>] (kernel_thread_exit+0x0/0x8)

    Code: 1afffff3 e596a014 e2811004 e3a00001 (e795a00a)

    ---[ end trace da227214a82491b7 ]---

    Kernel panic - not syncing: Attempted to kill init!

    [<80049978>] (unwind_backtrace+0x0/0xec) from [<80521d38>] (panic+0x80/0x194)

    [<80521d38>] (panic+0x80/0x194) from [<8007c090>] (complete_and_exit+0x0/0x1c)

    [<8007c090>] (complete_and_exit+0x0/0x1c) from [<00000001>] (0x1)

     

    would u give me some suggestions?

     

    for more tests i find:

    linux-imx/arch/arm/mm/fault.c  :

    do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)

    {

      struct task_struct *tsk;

      struct mm_struct *mm;

      int fault, sig, code;

      if (notify_page_fault(regs, fsr))

      return 0;

      tsk = current;

      mm  = tsk->mm;

     

    in this part mm is null so system print:

    Unable to handle kernel NULL pointer dereference at virtual address 00000001

     

    what could i do?

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

    I use the link below to download the sourcecode and compile:

    git clone git://github.com/embest-tech/fsl-linaro-toolchain.git

      git clone git://github.com/embest-tech/u-boot-imx.git -b embest_imx_3.0.35_4.0.0

      git clone git://github.com/embest-tech/linux-imx.git -b embest_imx_3.0.35_4.0.0

    The system told me that they can't find distclean when i compiled uboot.

    then I change the toolchain to another one which freescale gives to me which help me to access the compile.

    when i start the kernel there comes new  problems below:

     

    the following was the serial port print:

     

    Unable to handle kernel NULL pointer dereference at virtual address 00000001

    pgd = 80004000

    [00000001] *pgd=00000000

    Internal error: Oops: 5 [#1] PREEMPT SMP

    Modules linked in:

    CPU: 0    Not tainted  (3.0.35-02887-g731b440-dirty #7)

    PC is at kmem_cache_alloc+0xa4/0x108

    LR is at con_insert_unipair+0xb8/0x104

    pc : [<800f325c>]    lr : [<802897a0>]    psr: 60000093

    sp : bff83ef0  ip : bff82000  fp : 00000001

    r10: 00000000  r9 : 0bfcd000  r8 : 20000013

    r7 : 000000d0  r6 : bfff9300  r5 : 00000001  r4 : 80ab9cc0

    r3 : 8003e5a0  r2 : 80ab9cc0  r1 : 000024a8  r0 : 00000001

    Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

    Control: 10c53c7d  Table: 1000404a  DAC: 00000015

    Process swapper (pid: 1, stack limit = 0xbff822f0)

    Stack: (0xbff83ef0 to 0xbff84000)

    3ee0:                                    00002665 bfe15d64 bff6f900 00000003

    3f00: 80ae5688 80ae5686 00000003 802897a0 00000000 00000001 bff6f900 00000003

    3f20: 80ae5688 8028a3d0 00000000 80ae58e3 bfff0000 80b2f544 00000136 00000001

    3f40: 00000014 80b2f768 00000001 00000002 00000004 00000000 800224cc 800219fc

    3f60: 00000000 80b2f644 00000001 80021efc 80a18520 00000000 80b2f140 00000000

    3f80: 80043b04 00000013 00000000 00000000 00000000 80021350 809e7f90 00000000

    3fa0: 80b14100 80b14100 bff82030 8003d5c0 000001df 00000013 00000000 00000000

    3fc0: 00000039 00000000 00000270 8002fdf4 80030248 80043b04 00000013 00000000

    3fe0: 00000000 00000000 00000000 80008984 00000000 80043b04 09219820 90191c5a

    [<800f325c>] (kmem_cache_alloc+0xa4/0x108) from [<802897a0>] (con_insert_unipair+0xb8/0x104)

    [<802897a0>] (con_insert_unipair+0xb8/0x104) from [<8028a3d0>] (con_set_default_unimap+0xe8/0x178)

    [<8028a3d0>] (con_set_default_unimap+0xe8/0x178) from [<800219fc>] (console_map_init+0x44/0x50)

    [<800219fc>] (console_map_init+0x44/0x50) from [<80021efc>] (vty_init+0x18c/0x19c)

    [<80021efc>] (vty_init+0x18c/0x19c) from [<80021350>] (tty_init+0x12c/0x144)

    [<80021350>] (tty_init+0x12c/0x144) from [<8003d5c0>] (do_one_initcall+0x114/0x16c)

    [<8003d5c0>] (do_one_initcall+0x114/0x16c) from [<80008984>] (kernel_init+0xc0/0x144)

    [<80008984>] (kernel_init+0xc0/0x144) from [<80043b04>] (kernel_thread_exit+0x0/0x8)

    Code: 1afffff3 e596a014 e2811004 e3a00001 (e795a00a)

    ---[ end trace da227214a82491b7 ]---

    Kernel panic - not syncing: Attempted to kill init!

    [<80049978>] (unwind_backtrace+0x0/0xec) from [<80521d38>] (panic+0x80/0x194)

    [<80521d38>] (panic+0x80/0x194) from [<8007c090>] (complete_and_exit+0x0/0x1c)

    [<8007c090>] (complete_and_exit+0x0/0x1c) from [<00000001>] (0x1)

     

    would u give me some suggestions?

     

    for more tests i find:

    linux-imx/arch/arm/mm/fault.c  :

    do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)

    {

      struct task_struct *tsk;

      struct mm_struct *mm;

      int fault, sig, code;

      if (notify_page_fault(regs, fsr))

      return 0;

      tsk = current;

      mm  = tsk->mm;

     

    in this part mm is null so system print:

    Unable to handle kernel NULL pointer dereference at virtual address 00000001

     

    what could i do?

    • 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