Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 07-21-2017, 08:47 AM   #1
LQ Newbie
Registered: Jul 2017
Posts: 6

Rep: Reputation: Disabled
Question installed RootFS in RedBoot iDirect x3 evolution Satellite Router/modem and loaded zImage

Hi Pals out there...! Please say some thing about this what's wrong...! have I done ?. Or was there issue with the sequence Logic like I installed RootFS.bin or Root file system first and the zImage in the last or it doesn't matter which thing should be loaded or installed first, well I used Http as source o RootFS and zImage instead of iSite TFTP to download the RootFS.bin & zImage it was manually extracted from linux_2.4_bsp- (does the version matters ?). Please expert advice indeed leading me to success or if any one have access to iDirect TAC Please I Humbly request to send me every document that work for x3 or x5 iDirect evo or Infini Both! maybe I can find some useful knowledge from that, See my Email at the end.

RedBoot> load -r /RootFS.bin -m HTTP -h
Raw load requires a memory address
RedBoot> load -r -v /RootFS.bin -b 0x00020000 -m HTTP -h
Raw file loaded 0x00020000-0x01ea0003, assumed entry at 0x00020000

RedBoot> fis create RootFS -b 0x00020000 -l 0x00E80000 -f 0x50160000 -e 0x016000
00 -r 0x50160000
... Erase from 0x50160000-0x50fe0000: ..........................................
... Program from 0x00020000-0x00ea0000 at 0x50160000: ..........................
... Unlock from 0x51fe0000-0x52000000: .
... Erase from 0x51fe0000-0x52000000: .
... Program from 0x01fe0000-0x02000000 at 0x51fe0000: .
... Lock from 0x51fe0000-0x52000000: .

RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00040000  0x00000000
RootFS            0x50160000  0x50160000  0x00E80000  0x01600000
FIS directory     0x51FE0000  0x51FE0000  0x0001F000  0x00000000
RedBoot config    0x51FFF000  0x51FFF000  0x00001000  0x00000000
RedBoot> load -r /zImage -b 0x01600000 -m HTTP -h
Raw file loaded 0x01600000-0x016effab, assumed entry at 0x01600000

RedBoot> go 0x01600000
Uncompressing Linux.............................................................
...... done, booting the kernel.
Linux version 2.4.24-uc0-iDirect0 (root@eowyn-rh561) (gcc version 3.3.2) #1 Tue
Jun 7 17:38:22 EDT 2011
CPU: XScale-IXP4xx/IXC11xx revision 2
Machine: iDirect Phoenix Platform
Security risk: creating user accessible mapping for 0x51000000 at 0xf1000000
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS1,9600 root=/dev/mtdblock2 /sbin/init 4
Calibrating delay loop... 266.24 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62564KB available (1680K code, 477K data, 72K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: bus0: Fast back to back transfers enabled
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-algo-bit.o: i2c bit algorithm module
i2c-proc.o version 2.6.1 (20010825)
swapper (1): undefined instruction: pc=c000e1e0
Code: 00ca42f8 00000111 c587c0a8 0001efff (fffaf720)
Internal error: Oops - undefined instruction: 0
CPU: 0
pc : [<c000e1e0>]    lr : [<c000e138>]    Not tainted
sp : c03dffe0  ip : 80000013  fp : 00000000
r10: 00016ed8  r9 : 690541f2  r8 : c01ccd08
r7 : c0207b9c  r6 : c0207ba8  r5 : c01ca000  r4 : c00193ac
r3 : 00000001  r2 : 00000000  r1 : c0214d40  r0 : 00000000
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 39FF  Table: 00004000  DAC: 0000001D
Process swapper (pid: 1, stack limit = 0xc03de368)
Stack: (0xc03dffe0 to 0xc03e0000)
ffe0: c0008728 00000000 c001a070 00000000 c01ca000 c001be1c 00010600 a4212044
Backtrace: no frame pointer
Code: 00ca42f8 00000111 c587c0a8 0001efff (fffaf720)
Kernel panic: Attempted to kill init!

My Plz any advice and how to except publicly available e.g TAC@iDirect... would be appreciable

Last edited by JohnKarl; 07-23-2017 at 04:01 PM. Reason: clean up post with broken code tag
Old 07-23-2017, 04:11 PM   #2
LQ Newbie
Registered: Jul 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled

Dear Experts! is there a problem with the Wrong zImage as according how to x3 recovery document it can be extract from NMS see below,

1. Extracting the zImage from the NMS server
Perform the following steps on the NMS server:
Via a SSH session to the NMS server, extract the zImage from the cumulative update located on the NMS.

# cd /home/nms/cfg/image_sets/cumulative_update_package/
# cp cumulative_update]9_0_0_X.pkg /tmp/
# cd /tmp
# package ]mx ]a cumulative_update]9_0_0_X.pkg
# bunzip2 cumulative_update_package.tar.bz2
# tar ]xf cumulative_update_package.tar

I didn't extracted it as it's said in How to Document But I manually extracted Linux BSP.pkg using z7 software what it a wrong way ? I'm able to boot modem sometime it says kernel panic, but I noticed it's not loading complete ram as i observed in log that say 16M ram or take a Look at attachment, Also i tried the good Modem RootFS but both doesn't load ixp0 driver neither whole ram but 16M as shown in the attach .png.
Attached Thumbnails
Click image for larger version

Name:	Linux Target Image Builder(Debian) 9.1.0-2017-08-01-01-41-02.png
Views:	43
Size:	105.3 KB
ID:	25626  

Last edited by JohnKarl; 07-31-2017 at 03:45 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading Rootfs.bin file on idirect x3 evolution faxtrot16 Linux - Embedded & Single-board computer 2 07-26-2017 12:55 PM
Idirect x3 can not Mount rootfs faxtrot16 Linux - Kernel 0 11-02-2015 03:45 PM
iDirect X3 Modem problem eldsoky Linux - Kernel 2 02-07-2014 11:35 AM
I've got Fedora Core 2 loaded on a Toshiba Satellite 2545Xcdt laptop computer Bruce Edward Hayes Linux - Newbie 1 10-28-2010 07:35 PM
how to convert zImage to zImage.srec abirami Linux - Software 0 03-06-2005 11:35 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration