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?
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?
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
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?
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?