Modify

Opened 4 years ago

Last modified 4 years ago

#14154 new defect

sx763 64mb mod

Reported by: gsustek Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Attitude Adjustment 12.09
Keywords: Cc:

Description

After soldering 64MB ddr ram and change/compile u-boot to 64MB, during bootup AA image there is error:

CPU 0 Unable to handle kernel paging request at virtual address 60004484, epc == 80124aa4, ra == 80057070
If i use 32MB u-boot, image works fine.

Attachments (3)

Error (11.2 KB) - added by gsustek@… 4 years ago.
Trace from serial console
32M (13.0 KB) - added by anonymous 4 years ago.
64M (6.5 KB) - added by gsustek 4 years ago.

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by gsustek@…

Trace from serial console

comment:1 in reply to: ↑ description Changed 4 years ago by anonymous

Replying to gsustek:

After soldering 64MB ddr ram and change/compile u-boot to 64MB, during bootup AA image there is error:

CPU 0 Unable to handle kernel paging request at virtual address 60004484, epc == 80124aa4, ra == 80057070
If i use 32MB u-boot, image works fine.

if i use 32MB u-boot-bottstrap.bin, openwrt image works just fine. but with above modification to recognize 64MB. error occure. On same soldiered 64MB ram, i even do some test mem from uboot cli ,and mem is ok.

This is how i change uboot to 64mb:

attitude_adjustment/package/uboot-lantiq/files/include/configs/easy50712.h
from
#define CONFIG_SYS_MAX_RAM 32*1024*1024
to
#define CONFIG_SYS_MAX_RAM 64*1024*1024

And complie. 32mb and 64 mb uboot. Bu only 32mb works..
Then i deploy only primary bootloader from sx763 wiki after red triangle passus.

i just deploy firmware from oficial AA and with 64mb ubootstrap on serial booting stuck at Freeing unused kernel memory:176k freed

Changed 4 years ago by anonymous

Changed 4 years ago by gsustek

comment:2 Changed 4 years ago by gsustek

i upload files 32M and 64MB, output from serial console starting up fresh build r37990, with two different u-bootstrap.bin

comment:3 Changed 4 years ago by gsustek

i compile kernel with some tracing..result is below.
[ 0.516000] TCP cubic registered
[ 0.520000] NET: Registered protocol family 17
[ 0.524000] 8021q: 802.1Q VLAN Support v[ 0.540000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.548000] Freeing unused kernel memory: 180k freed
[ 0.828000] Unhandled kernel unaligned access#1:
[ 0.828000] Cpu 0
[ 0.828000] $ 0 : 00000000 00000001 8030e5b8 00000003
[ 0.828000] $ 4 : 8030e5a4 ffffffff 00100100 8030e5a8
[ 0.828000] $ 8 : 00000003 0000370c 00000010 ffffff80
[ 0.828000] $12 : 00000001 ffffffff 83460108 00000040
[ 0.828000] $16 : 81007314 00000000 8030e500 00000002
[ 0.828000] $20 : 00100000 802f0000 80275914 80310000
[ 0.828000] $24 : 00000000 00000000
[ 0.828000] $28 : 83818000 83819768 8108241c 8007c254
[ 0.828000] Hi : 00000000
[ 0.828000] Lo : 00000001
[ 0.828000] epc : 8007b62c rmqueue+0x80/0x490
[ 0.828000] Not tainted
[ 0.828000] ra : 8007c254 get_page_from_freelist+0x180/0x5b8
[ 0.828000] Status: 1100fc02 KERNEL EXL
[ 0.828000] Cause : 00800014
[ 0.828000] BadVA : 00000003
[ 0.828000] PrId : 00019641 (MIPS 24KEc)
[ 0.828000] Modules linked in:
[ 0.828000] Process swapper (pid: 1, threadinfo=83818000, task=83817958, tls=00000000)
[ 0.828000] Stack : 00000000 80300000 000a0050 00000000 00000001 00080050 00000000 8030eab8
[ 0.828000] 00000000 00000000 8030eabc 8007cea8 00000003 8108241c 00000000 81082418
[ 0.828000] 00000000 8030e500 00000002 00000001 8108241c 8007c254 00000000 8030e500
[ 0.828000] 00000000 31975000 00000041 80366160 8030e500 80026410 00000000 8030eabc
[ 0.828000] 00000000 00000001 00000003 81082400 00000001 ffffffff 00000000 83b48068
[ 0.828000] ...
[ 0.828000] Call Trace:
[ 0.828000] [<8007b62c>]
rmqueue+0x80/0x490
[ 0.828000] [<8007c254>] get_page_from_freelist+0x180/0x5b8
[ 0.828000] [<8007cea8>] alloc_pages_nodemask+0x108/0x66c
[ 0.828000] [<800763b4>] find_or_create_page+0x6c/0xe0
[ 0.828000] [<800de6c8>]
getblk+0x140/0x35c
[ 0.828000] [<8010934c>] squashfs_read_data+0x17c/0x7e0
[ 0.828000] [<80109b94>] squashfs_cache_get+0x1e4/0x324
[ 0.828000] [<8010b0b0>] squashfs_readpage+0x534/0x914
[ 0.828000] [<800814d8>] do_page_cache_readahead+0x1f8/0x274
[ 0.828000] [<80081930>] ra_submit+0x28/0x34
[ 0.828000] [<80081d60>] page_cache_sync_readahead+0x5c/0x6c
[ 0.828000] [<80077814>] generic_file_aio_read+0x30c/0x8b4
[ 0.828000] [<800af768>] do_sync_read+0xa0/0xf0
[ 0.828000] [<800b0040>] vfs_read+0xb0/0x158
[ 0.828000] [<800b5780>] kernel_read+0x2c/0x40
[ 0.828000] [<800b5894>] prepare_binprm+0x100/0x110
[ 0.828000] [<800f6450>] load_script+0x280/0x2b0
[ 0.828000] [<800b54bc>] search_binary_handler+0x104/0x320
[ 0.828000] [<800b6c54>] do_execve+0x238/0x390
[ 0.828000] [<8000aed4>] sys_execve+0x4c/0x78
[ 0.828000] [<8000ee84>] stack_done+0x20/0x40
[ 0.828000]
[ 0.828000]
[ 0.828000] Code: 8e020004 8e050000 240bff80 <aca20004> ac450000 3c020020 24420200 ae020004 8e02fff8
[ 1.076000] ---[ end trace 5f01d958d3d1ffc0 ]---

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.