Home Forum Developers General discussions uClinux bump to R2011

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


admin
useravatar
User Info

uClinux bump to R2011

Hi Guys,

uClinux in Switchfin has been bumped to R2011 in SVN.
Initially we use PR1 Appliance to test.
Please report if you have issues.

Cheers
Dimitar


Administrator has disabled public posting
rinaldo
useravatar
User Info

Re: uClinux bump to R2011

Compiling SVN709 to IP01, made ​​changes in the uClinux-dist.mk, removing serial patch and DM9000


ifeq ($ ($ strip (SF_IP01)), y)
# Patch-d $ (UCLINUX_DIR)-p1 <# package/uClinux-dist/vendors/Rowetel/IP01/pre_config/ip01.patch Tempprary removed
         Patch-d $ (UCLINUX_DIR)-p1 <package/uClinux-dist/vendors/Rowetel/IP04/pre_config/Kconfig.patch
# Patch-d $ (UCLINUX_DIR)-p1 <package/uClinux-dist/vendors/Rowetel/IP04/pre_config/serial.patch
# Patch-d $ (UCLINUX_DIR)-p1 <package/uClinux-dist/vendors/Rowetel/IP04/pre_config/dm9000.patch
         patch-d $ (UCLINUX_DIR)-p1 <package / uClinux-dist / libidn.patch
endif

During the Boot not start the uClinux, stands as below:


CPU: ADSP BF532 Rev.: 0.6
Board: IP04 IP-PBX
        http://www.rowetel.com/ucasterisk/ip04.html
Clock: VCO: 400 MHz, Core: 400 MHz, System: 133 MHz
SDRAM: 64 MB
In: serial
Out: serial
Err: serial
256 MiB
DM9000 # 0
starting from spi flash
Hit any key to stop autoboot: 0

Loading from device 0: NAND 256MiB 3,3 V 8-bit (offset 0x0)
    Image Name: Linux Kernel and ext2
    Image Type: Blackfin Linux Kernel Image (gzip compressed)
    Data Size: 7525920 Bytes = 7.2 MB
    Load Address: 00001000
    Entry Point: 001ffbd4
Automatic boot of image at addr 0x02000000 ...
# # Booting image at 02000000 ...
    Image Name: Linux Kernel and ext2
    Image Type: Blackfin Linux Kernel Image (gzip compressed)
    Data Size: 7525920 Bytes = 7.2 MB
    Load Address: 00001000
    Entry Point: 001ffbd4
    Verifying Checksum ... OK
Starting at Kernel = 1ffbd4


Administrator has disabled public posting
admin
useravatar
User Info

Re: uClinux bump to R2011

Hi Rinaldo,

Please check your CPU version.
Pleas echeck your console bootargs settings.

Cheers
Dimitar


Administrator has disabled public posting
rinaldo
useravatar
User Info

Re: uClinux bump to R2011

Box IP04 CPU BF533 Rev 0.6


printenv
bootdelay=3
baudrate=115200
loads_echo=1
preboot=echo starting from spi flash
rootpath=/bf1/rootfs
hostname=BF1
addnet=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath);run addnet;
ramboot=tftp 0x01000000 vmImage;run addnet;bootm
nfsboot=tftp 0x01000000 vmImage;run nfsargs;bootm
flashboot=run addnet;bootm 20020000
spiboot=eeprom read 0x01000000 30000 110000;run addnet;bootm 0x01000000
update=tftpboot 0x01000000 u-boot.bin;protect off 0x20000000 0x2001FFFF;erase 0x20000000 0x2001FFFF;cp.b 0x01000000 0x20000000 $(filesize)
ethact=DM9000#0
ethaddr=00:09:45:59:71:66
eth1addr=00:09:45:59:71:67
bootargs=ethaddr=00:09:45:59:71:66 ethaddr1=00:09:45:59:71:67 console=ttyBF0,115200 root=/dev/mtdblock0 rw
nandboot=nboot 0x2000000 0x0
bootcmd=run nandboot
gateway=192.168.0.3
filesize=7a0838
fileaddr=1000000
gatewayip=192.168.0.3
netmask=255.255.255.0
ipaddr=192.168.0.36
serverip=192.168.0.118
autostart=yes
stdin=serial
stdout=serial
stderr=serial


Administrator has disabled public posting
rinaldo
useravatar
User Info

Re: uClinux bump to R2011

for PR1 box during boot the system fails with the following message:


mmc_spi spi0.4: ASSUMING 3.2-3.4 V slot power
mmc_spi spi0.4: SD/MMC host mmc0, no DMA, no WP, no poweroff
mmc_spi spi0.4: setup: unsupported mode bits 4
mmc_spi spi0.4: can't change chip-select polarity
mmc0: card lacks mandatory switch function, performance might suffer.
mmc0: host does not support reading read-only switch. assuming write-enable.
Stack info:
SP: [0x0402fba0] \
Memory from 0x0402fba0 to 04030000
0402fba0:[0000000a] 00000000  00000000  00000400  001eced0  0000ed36  0402fbb4  00000000
0402fbc0: 001e48d4  001e48c8  00000000  0000000a  0402fbe8  00000000  0000abe0  001ec948
0402fbe0: 0402fc64  0000001f  00000000  001ee378  0000000c  0402fc24  0000956c  001eb830
0402fc00: 0401ca80  0402fc1c  0401caac  0401ca80  00000000  00000006  001eeafc  0402fc1c
0402fc20: 0402fc1c  00000004  000171ea  00000000  0016f6b0  0402fc30  00000000  00000000
0402fc40: 00000001  00000028  04030000  00000000  00000006  0000613a  00000021  000061d2
0402fc60: 0459c9bc  0459c9bc  00000000  00000007  001e5c14  001e5a14  001e5814  001e5614
0402fc80: 0402fc80  0402fc80  0000000a  00012820  001e4cf0  00000004  0402e000  00000001
0402fca0: 00000004  0001282c  00000001  040d4a80  001e4918  00000006  00000000  00000053
0402fcc0: 0402fe00  001eced0  ffa003a6  001f4124  040d4a80  001e4918  00000006  00000000
0402fce0: 00000053  0402fe00  0459ca5c  048e5964  0407c8a2  ffa00bc2  001e48cb  00000003
0402fd00: 00000003  00000000  0000415a  0402fdd0  ffe02014  0459c800  00000021  00000003
0402fd20: 00000000  048e5964  0000ec1c  0402fba0  00000006  02003044  000cb094  00030001
0402fd40: 000cb088  ffa01486  00000000  00000000  00006d4f  00000000  0114bed2  00000000
0402fd60: 00000000  7ffff000  000000c0  0000001b  00000000  00000000  00000000  00000000
0402fd80: 0000005b  00001802  00000001  ffffffff  0000000f  00000000  048fe210  00003c43
0402fda0: 00000000  001eced0  001e48cb  040d4a80  001e4918  ffa006ae  001dd000  00008008
0402fdc0: 00002021  00000003  00000053  0402fe00  00000480  00008008  00002021  00000000
0402fde0: 0402feac  00000480  048e022e  048e52ca  00061a80  02002062  000cb094  ffa01488
0402fe00: 000cb088  ffa01486  00000000  00000000  00006d4f  00000000  0114bed2  00000000
0402fe20: 00000000  7ffff000  000000c0  0000001b  00000000  00000000  00000000  00000000
0402fe40: 0000005b  00001802  00000001  ffffffff  0000000f  00000000  048fe210  00003c43
0402fe60: 00000000  00000000  0459cc00  0402fec4  0459c800  048e0224  0459c800  00001ffb
0402fe80: 00000000  048e4310  00000000  048e5964  00001ffc  ffffffff  00000000  00061a80
0402fea0: 00061a80  00001ffb  00000006  048e1e58  048e3d0a  0402ff08  0402fed4  00000000
0402fec0: 00000001  04a89aa6  8260648e  0a40f5a1  aa015047  00000000  048e6e30  048e5670
0402fee0: 0459c800  0402ff08  048e0a8c  00000000  048e4310  048e6660  048e5964  048e6e30
0402ff00: 048e16f8  0459c800  00ff8000  048e17a6  0459c800  048e8cf4  048e0a8c  00061a80
0402ff20: 0401cbd0  00000000  0000bc0a  048e8d04  001e5e68  0001d580  0459c974  04014180
0402ff40: 001ec07c  0431fa00  0431fa05  048e15a8  00000000  0000b3ae  0402e008  0402e000
0402ff60: 0402e000  001ec07c  0001df50  001e5e68  04014180  00000000  04014190  04014190
0402ff80: 001ee17c  001e5e60  0401ff18  0001de2c  00000000  0402e000  0402e000  0402e000
0402ffa0: 00000000  00021a14  0401ff18  0001de2c  00000000  04014180  00000000  00000000
0402ffc0: 00000000  00000000  00000000  000219b8  00000000  04014180  00000000  0402ffdc
0402ffe0: 0402ffdc  00001556  00000000  00000000  00000000  00000000  ffffffff  00000006
Return addresses in stack:
Modules linked in: mmc_spi crc_itu_t crc7 mmc_core
Kernel panic - not syncing: Kernel exception
Stack info:
SP: [0x0402fce4] °ç
Memory from 0x0402fce0 to 04030000
0402fce0: 048e5964 [001a643c] 0016f56c  0402fdd0  001a643c  001e03eb  001e03eb  001e03eb
0402fd00: 0402fd2c  00000000  0000416a  0402fdd0  ffe02014  0459c800  00000021  00000003
0402fd20: 00000000  048e5964  0000ec1c  0000001f  ffffffff  02003044  000cb094  00030001
0402fd40: 000cb088  ffa01486  00000000  00000000  00006d4f  00000000  0114bed2  00000000
0402fd60: 00000000  7ffff000  000000c0  0000001b  00000000  00000000  00000000  00000000
0402fd80: 0000005b  00001802  00000001  ffffffff  0000000f  00000000  048fe210  00003c43
0402fda0: 00000000  001eced0  001e48cb  040d4a80  001e4918  ffa006ae  001dd000  00008008
0402fdc0: 00002021  00000003  00000053  0402fe00  00000480  00008008  00002021  00000000
0402fde0: 0402feac  00000480  048e022e  048e52ca  00061a80  02002062  000cb094  ffa01488
0402fe00: 000cb088  ffa01486  00000000  00000000  00006d4f  00000000  0114bed2  00000000
0402fe20: 00000000  7ffff000  000000c0  0000001b  00000000  00000000  00000000  00000000
0402fe40: 0000005b  00001802  00000001  ffffffff  0000000f  00000000  048fe210  00003c43
0402fe60: 00000000  00000000  0459cc00  0402fec4  0459c800  048e0224  0459c800  00001ffb
0402fe80: 00000000  048e4310  00000000  048e5964  00001ffc  ffffffff  00000000  00061a80
0402fea0: 00061a80  00001ffb  00000006  048e1e58  048e3d0a  0402ff08  0402fed4  00000000
0402fec0: 00000001  04a89aa6  8260648e  0a40f5a1  aa015047  00000000  048e6e30  048e5670
0402fee0: 0459c800  0402ff08  048e0a8c  00000000  048e4310  048e6660  048e5964  048e6e30
0402ff00: 048e16f8  0459c800  00ff8000  048e17a6  0459c800  048e8cf4  048e0a8c  00061a80
0402ff20: 0401cbd0  00000000  0000bc0a  048e8d04  001e5e68  0001d580  0459c974  04014180
0402ff40: 001ec07c  0431fa00  0431fa05  048e15a8  00000000  0000b3ae  0402e008  0402e000
0402ff60: 0402e000  001ec07c  0001df50  001e5e68  04014180  00000000  04014190  04014190
0402ff80: 001ee17c  001e5e60  0401ff18  0001de2c  00000000  0402e000  0402e000  0402e000
0402ffa0: 00000000  00021a14  0401ff18  0001de2c  00000000  04014180  00000000  00000000
0402ffc0: 00000000  00000000  00000000  000219b8  00000000  04014180  00000000  0402ffdc
0402ffe0: 0402ffdc  00001556  00000000  00000000  00000000  00000000  ffffffff  00000006
Return addresses in stack:


Administrator has disabled public posting
admin
useravatar
User Info

Re: uClinux bump to R2011

Hi Rinaldo,

You have SD card plugged in, correct?
I confirm that I have the same with the trunk.

Thanks, will take a look
Dimitar


Administrator has disabled public posting
rinaldo
useravatar
User Info

Re: uClinux bump to R2011

Hi Dimitar

PR1 appliance in removing the sdcard boot now works.

In IP08're not sdcard. but the boot here:

Loading from device 0: NAND 256MiB 3,3 V 8-bit (offset 0x0)
     Image Name: Linux Kernel and ext2
     Image Type: Blackfin Linux Kernel Image (gzip compressed)
     Data Size: 7525920 Bytes = 7.2 MB
     Load Address: 00001000
     Entry Point: 001ffbd4
Automatic boot of image at addr 0x02000000 ...
# # Booting image at 02000000 ...
     Image Name: Linux Kernel and ext2
     Image Type: Blackfin Linux Kernel Image (gzip compressed)
     Data Size: 7525920 Bytes = 7.2 MB
     Load Address: 00001000
     Entry Point: 001ffbd4
     Verifying Checksum ... OK
Starting Kernel at = 1ffbd4


Administrator has disabled public posting
arad85
useravatar
User Info

Re: uClinux bump to R2011

I am trying to get the latest SVN to work on an IP02. I too, was having the inability to get past the "Starting Kernel at" message (see: http://www.switchfin.org/index.php?opti … ;Itemid=54)

This is caused by a bug in the serial driver where a #ifdef is missed or added in inappropriately (I'm not sure which it is or isn't). Please see the fix in the linked thread - I now have this booting with console output on the IP02.


Administrator has disabled public posting
rinaldo
useravatar
User Info

Re: uClinux bump to R2011

uClinux Bump to 2011 rev Status:

PR1 Appliance:

Libpri Bump to 1.4.13
Spandsp Bump to 0.0.6pre21
SD/MMC card needs to be fixed

IP0x Appliance:

GSM1 Not Working


Administrator has disabled public posting
admin
useravatar
User Info

Re: uClinux bump to R2011

Hi Rinaldo,

Can you please revert back your commit and test

----------------------------------------------------------------------------
Revision 652 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 24 12:45:25 2011 UTC (12 months, 3 weeks ago) by rdsantos
File length: 7800 byte(s)
Diff to previous 448

GSM1 Support uClinux 2010R1-RC5
----------------------------------------------------------------------------

I think this is what broke GSM1.

Please let me know
Dimitar


Administrator has disabled public posting
rinaldo
useravatar
User Info

Re: uClinux bump to R2011

wcfxs.c file when compiling gives error line 352

changing the line 352 to:

wcfx-gsm1.c
/ * Structure That declares the usual file access functions * /
349 = {struct file_operations wcgsm_fops
350. Open = wcgsm_open,
351. Release = wcgsm_release,
352. Unlocked_ioctl = wcgsm_ioctl
353};

the file compiles without errors, but the module does not load wcfxs, need to do more testing ...


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 220
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked