Started by elrix2004, January 04, 2013, 09:03:41 PM
Quote[ 1.940000] NET: Registered protocol family 15<6>802.1Q VLAN Support v1.8[ 1.950000] 802.1Q VLAN Support v1.8<6>VFP support v0.3: [ 1.950000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3implementor 41 architecture 3 part 30 variant c rev 3<5>Registering SWP/SWPB emulation handler[ 1.970000] Registering SWP/SWPB emulation handler<6>registered taskstats version 1[ 1.980000] registered taskstats version 1<1>Unable to handle kernel NULL pointer dereference at virtual address 00000018[ 1.980000] Unable to handle kernel NULL pointer dereference at virtual address 00000018<1>pgd = c0004000[ 1.990000] pgd = c0004000<1> *pgd=00000000[ 1.990000]  *pgd=00000000<0>Internal error: Oops: 5 [#1] PREEMPT[ 2.000000] Internal error: Oops: 5 [#1] PREEMPT<d>Modules linked in:[ 2.000000] Modules linked in:CPU: 0 Not tainted (3.0.52 #7)[ 2.000000] CPU: 0 Not tainted (3.0.52 #7)
Quote from: olimex on January 07, 2013, 09:35:30 AMI check and linux-sunxi indeed have no MICRO configuration which is odd as Dimitar submited the changesnevermind you can use https://github.com/hehopmajieh/linux-sunxi to get them
[dram_para]dram_baseaddr = 0x40000000dram_clk = 408dram_type = 3dram_rank_num = 1dram_chip_density = 2048dram_io_width = 8dram_bus_width = 16dram_cas = 9dram_zq = 0x7bdram_odt_en = 0dram_size = 512dram_tpr0 = 0x42d899b7dram_tpr1 = 0xa090dram_tpr2 = 0x22a00dram_tpr3 = 0x0dram_tpr4 = 0x0dram_tpr5 = 0x0dram_emr1 = 0x0dram_emr2 = 0x10dram_emr3 = 0x0
Quote<xman> hi, What happens if my dram_size = 512 in [dram_para], but my board have only 256MB?<WarheadsSE> xman: which board ?<xman> https://www.olimex.com/Products/OLinuXino/A13/A13-OLinuXino-MICRO/...techn_> with 256MB ram you propably need to disable mali, framebuffer and g2d.. memmap hard coded to somewhere 400-500MB<techn_> example: https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.0/arch/arm/mach-sun5i/core.c#L222xman> 64M and 32M is for what?techn_> 64M mali, 32M for reserved framebuffer(for mali use)...<WarheadsSE> xman: then you should be enable appropriately adjust the dram para, but you might need an updated uboot that has a 256M SPL..<WarheadsSE> the Wifi has an AXP, which the Mirco doesn't.<WarheadsSE> That's a big difference....<xman> so, you edit fex, uptade kernel and update u-boot?<WarheadsSE> yes, fex change, kernel source change, u-boot source change<WarheadsSE> recompile all...<WarheadsSE> For the moment, they need to use the provided kernel source repository, and the associated uboot.