This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Loading the large given rootfs failing in TCI6638

Hello, 

I am trying to load the prebuilt linux images and the tisdk-rootfs-k2hk-evm.tar.gz present after the installation of mcsdk_3_01_04_07 in linux for the TCI6638 board but it gets stuck at starting kernel. 

I have tried to change the tty settings as suggested in similar problem threads but it is not working. And for the same configuration, if I load a small file with 15Mb fs i.e. arago-console-image.cpio.gz, it loads with out any problems and starts kernel. I have also tried with the arago-console-image.tar.gz and this also works fine. 

But just by changing the bootargs argument for 265Mb, it is failing. I am giving the prints of boot arguments:

I2C: ready
DRAM: 1 GiB
NAND: 512 MiB
Net: TCI6638_EMAC, TCI6638_EMAC1
Hit any key to stop autoboot: 0
TCI6638 EVM # printenv
addr_fdt=0x87000000
addr_fs=0x82000000
addr_kern=0x88000000
addr_mon=0x0c5f0000
addr_uboot=0x87000000
args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1
args_net=setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} ip=dhcp
args_ramfs=setenv bootargs console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,265M.
args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048
baudrate=115200
boot=ramfs
bootargs=console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,265M rproc_mem=3M@0xC3000000
bootcmd=run init_${boot} get_fdt_${boot} get_mon_${boot} get_kern_${boot} run_mon run_kern
bootdelay=3
bootfile=/home/mymo/vishnu/images_new/tisdk-rootfs-k2hk-evm.tar.gz
burn_uboot=sf probe; sf erase 0 0x100000; sf write ${addr_uboot} 0 ${filesize}
dnsip=10.10.10.50
dnsip2=4.2.2.2
ethact=TCI6638_EMAC
ethaddr=c4:ed:ba:99:ff:00
fdt_high=0xffffffff
fileaddr=C5F0000
filesize=B000
get_fdt_net=dhcp ${addr_fdt} ${tftp_root}/${name_fdt}
get_fdt_ramfs=dhcp ${addr_fdt} ${tftp_root}/${name_fdt}
get_fdt_ubi=ubifsload ${addr_fdt} ${name_fdt}
get_fs_ramfs=dhcp ${addr_fs} ${tftp_root}/${name_fs}
get_kern_net=dhcp ${addr_kern} ${tftp_root}/${name_kern}
get_kern_ramfs=dhcp ${addr_kern} ${tftp_root}/${name_kern}
get_kern_ubi=ubifsload ${addr_kern} ${name_kern}
get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}
get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon}
get_mon_ubi=ubifsload ${addr_mon} ${name_mon}
get_uboot_net=dhcp ${addr_uboot} ${tftp_root}/${name_uboot}
get_uboot_ramfs=dhcp ${addr_uboot} ${tftp_root}/${name_uboot}
has_mdio=0
init_net=run args_all args_net
init_ramfs=run args_all args_ramfs get_fs_ramfs
init_ubi=run args_all args_ubi; ubi part ubifs; ubifsmount boot
ipaddr=192.168.1.8
mem_lpae=1
mem_reserve=0
name_fdt=k2hk-evm.dtb
name_fs=tisdk-rootfs-k2hk-evm.tar.gz
name_kern=uImage
name_mon=skern-k2hk-evm.bin
name_uboot=u-boot-spi.gph
netmask=255.255.255.0
nfs_options=v3,tcp,rsize=4096,wsize=4096
nfs_root=/export
no_post=1
run_kern=bootm ${addr_kern} - ${addr_fdt}
run_mon=mon_install ${addr_mon}
serverip=192.168.1.248
stderr=serial
stdin=serial
stdout=serial
tftp_root=/home/mymo/vishnu/images_new
ver=U-Boot 2013.01 (May 31 2013 - 01:01:04)

Can someone help me how to load a large fs and what parameters to change in boot arguments?

Thank you,

-Vishnu

  • continuing with the previous post, If I load the respective images from mcsdk_linux_3_00_00_11 folder with the respective bootargs and args_ramfs changed to 35MB, then the kernel starts but goes into kernel panic. The prints is attached here: 

    done
    Bytes transferred = 3529136 (35d9b0 hex)
    ## installed monitor, freq [133120000], status 133120000
    ## Booting kernel from Legacy Image at 88000000 ...
       Image Name:   Linux-3.8.4
       Created:      2013-05-31   4:01:23 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3529072 Bytes = 3.4 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 87000000
       Booting using the fdt blob at 0x87000000
       Loading Kernel Image ... OK
    OK
       Using Device Tree in place at 87000000, end 87010508
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.8.4 (gtbldadm@ubuntu-12) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Lin3
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
    [    0.000000] switching to high address space at 0x800000000
    [    0.000000] cma: CMA: reserved 16 MiB at 2e800000
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c0ef7000 s11648 r8192 d12928 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,35M.
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] __ex_table already sorted, skipping sort
    [    0.000000] Memory: 1024MB = 1024MB total
    [    0.000000] Memory: 980004k/980004k available, 68572k reserved, 270336K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc06320e8   (6313 kB)
    [    0.000000]       .init : 0xc0633000 - 0xc0673d80   ( 260 kB)
    [    0.000000]       .data : 0xc0674000 - 0xc06b0d08   ( 244 kB)
    [    0.000000]        .bss : 0xc06b0d08 - 0xc06db39c   ( 170 kB)
    [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ipc irq: irqchip registered, range 512-539
    [    0.000000] main_pll_clk rate is 798720000, postdiv = 2, mult = 12,prediv = 0
    [    0.000000] pll_clk parent_rate(122880000 Hz), rate(327680000 Hz),postdiv = 6, mult = 15, prediv = 0
    [    0.000000] tci6614-timer: no matching node
    [    0.000000] Architected local timer running at 133.12MHz (phys).
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] sched_clock: 32 bits at 133MHz, resolution 7ns, wraps every 32263ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000116] Calibrating delay loop (skipped), value calculated using timer frequency.. 266.24 BogoMIPS (lpj=1331200)
    [    0.000133] pid_max: default: 4096 minimum: 301
    [    0.000367] Mount-cache hash table entries: 512
    [    0.013392] CPU: Testing write buffer coherency: ok
    [    0.013658] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.013693] Setting up static identity map for 0x8047c8a0 - 0x8047c8d4
    [    0.101046] CPU1: Booted secondary processor
    [    0.101069] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.187865] CPU2: Booted secondary processor
    [    0.187887] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.274680] CPU3: Booted secondary processor
    [    0.274703] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.274769] Brought up 4 CPUs
    [    0.274802] SMP: Total of 4 processors activated (1064.96 BogoMIPS).
    [    0.298411] NET: Registered protocol family 16
    [    0.300187] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.315762] keystone2_pcie_serdes_setup
    [    0.317866] keystone2_pcie_serdes_setup done
    [    0.317895] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.317906] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.336707] bio: create slab <bio-0> at 0
    [    0.337028] keystone-pcie: keystone_pcie_rc_init - start
    [    0.337341] MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000 
    [    0.337359] IO 0x0000000024000000..0x0000000024003fff -> 0x0000000000000000
    [    0.337417] pcie - number of legacy irqs = 4
    [    0.337500] pcie - number of MSI host irqs = 8, msi_irqs = 32
    [    0.451395] keystone-pcie: Doing PCI Setup...Done
    [    0.451406] keystone-pcie: Starting PCI scan...
    [    0.451630] PCI host bridge to bus 0000:00
    [    0.451651] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
    [    0.451666] pci_bus 0000:00: root bus resource [io  0x0000-0x3fff]
    [    0.451681] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [    0.451760] PCI: bus0: Fast back to back transfers enabled
    [    0.451788] keystone-pcie: Ending PCI scan...
    [    0.451802] keystone-pcie: keystone_pcie_rc_init - end
    [    0.452127] vgaarb: loaded
    [    0.452708] SCSI subsystem initialized
    [    0.453419] usbcore: registered new interface driver usbfs
    [    0.453597] usbcore: registered new interface driver hub
    [    0.453786] usbcore: registered new device driver usb
    [    0.455738] keystone-hwqueue hwqueue.2: qmgr start queue 0, number of queues 8192
    [    0.455902] keystone-hwqueue hwqueue.2: added qmgr start queue 0, num of queues 8192, reg_peek f0040000, reg_status f0004000, reg_config f0006000, r0
    [    0.455921] keystone-hwqueue hwqueue.2: qmgr start queue 8192, number of queues 8192
    [    0.456068] keystone-hwqueue hwqueue.2: added qmgr start queue 8192, num of queues 8192, reg_peek f0100000, reg_status f000a400, reg_config f000c0000
    [    0.457211] keystone-hwqueue hwqueue.2: qos: sched port @8096, drop sched @8000
    [    0.458818] keystone-hwqueue hwqueue.2: qos: sched port @6496, drop sched @6400
    [    0.460388] keystone-hwqueue hwqueue.2: added pool pool-net: 2048 descriptors of size 128
    [    0.460406] keystone-hwqueue hwqueue.2: added pool pool-rio: 128 descriptors of size 256
    [    0.460423] keystone-hwqueue hwqueue.2: added pool pool-udma: 1636 descriptors of size 256
    [    0.460440] keystone-hwqueue hwqueue.2: added pool pool-xge: 2048 descriptors of size 128
    [    0.463977] keystone-hwqueue hwqueue.2: registered queues 0-16383
    [    0.464083] keystone-hwqueue hwqueue.2: qos version 0x2000105, magic valid
    [    0.464725] keystone-hwqueue hwqueue.2: qos version 0x2000105, magic valid
    [    0.476045] keystone-pktdma 2004000.pktdma: registered 20 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.481216] keystone-pktdma 2a08000.pktdma: registered 24 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback
    [    0.482255] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.482502] Switching to clocksource arch_sys_counter
    [    0.505655] NET: Registered protocol family 2
    [    0.506274] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.506486] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.506694] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.506757] TCP: reno registered
    [    0.506774] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.506820] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.507125] NET: Registered protocol family 1
    [    0.507370] RPC: Registered named UNIX socket transport module.
    [    0.507381] RPC: Registered udp transport module.
    [    0.507390] RPC: Registered tcp transport module.
    [    0.507398] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.507606] Unpacking initramfs...
    [    0.509370] Initramfs unpacking failed: no cpio magic
    [    0.539193] Freeing initrd memory: 35840K
    [    0.673905] bounce pool size: 64 pages
    [    0.686402] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.686857] NTFS driver 2.1.30 [Flags: R/O].
    [    0.687371] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    [    0.689507] NET: Registered protocol family 38
    [    0.689883] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    [    0.689898] io scheduler noop registered
    [    0.689910] io scheduler deadline registered
    [    0.690170] io scheduler cfq registered (default)
    [    0.692201] keystone-udma udma0.3: registered udma device udma0
    [    0.771202] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.773466] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A
    [    1.529681] console [ttyS0] enabled
    [    1.534054] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A
    [    1.546569] loop: module loaded
    [    1.549920] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.558441] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [    1.576040] ONFI param page 0 valid
    [    1.579517] ONFI flash detected
    [    1.582664] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAHC), 512MiB, page size: 2048, OOB size: 64
    [    1.595737] Bad block table found at page 262080, version 0x01
    [    1.604829] Bad block table found at page 262016, version 0x01
    [    1.612282] nand_read_bbt: bad block at 0x000002540000
    [    1.617409] nand_read_bbt: bad block at 0x000002c60000
    [    1.622527] nand_read_bbt: bad block at 0x000002d00000
    [    1.627652] nand_read_bbt: bad block at 0x000003080000
    [    1.632777] nand_read_bbt: bad block at 0x000003580000
    [    1.637895] nand_read_bbt: bad block at 0x000003d00000
    [    1.643021] nand_read_bbt: bad block at 0x0000050a0000
    [    1.648137] nand_read_bbt: bad block at 0x000005440000
    [    1.653262] nand_read_bbt: bad block at 0x000006440000
    [    1.658380] nand_read_bbt: bad block at 0x000006e40000
    [    1.663504] nand_read_bbt: bad block at 0x000007160000
    [    1.668621] nand_read_bbt: bad block at 0x000007300000
    [    1.673750] nand_read_bbt: bad block at 0x00000abc0000
    [    1.678867] nand_read_bbt: bad block at 0x00000adc0000
    [    1.683992] nand_read_bbt: bad block at 0x00000b8c0000
    [    1.689108] nand_read_bbt: bad block at 0x00000b940000
    [    1.694233] nand_read_bbt: bad block at 0x00000c960000
    [    1.699353] nand_read_bbt: bad block at 0x00000f1c0000
    [    1.704483] nand_read_bbt: bad block at 0x000012ae0000
    [    1.709600] nand_read_bbt: bad block at 0x000012b60000
    [    1.714723] nand_read_bbt: bad block at 0x000012da0000
    [    1.719841] nand_read_bbt: bad block at 0x0000138c0000
    [    1.724968] nand_read_bbt: bad block at 0x0000157c0000
    [    1.730085] nand_read_bbt: bad block at 0x000015e20000
    [    1.735213] nand_read_bbt: bad block at 0x0000184a0000
    [    1.740329] nand_read_bbt: bad block at 0x000018640000
    [    1.745455] nand_read_bbt: bad block at 0x000019aa0000
    [    1.750574] nand_read_bbt: bad block at 0x00001aac0000
    [    1.755701] nand_read_bbt: bad block at 0x00001d2e0000
    [    1.760819] nand_read_bbt: bad block at 0x00001dd60000
    [    1.765944] nand_read_bbt: bad block at 0x00001f080000
    [    1.771123] 3 ofpart partitions found on MTD device 30000000.nand
    [    1.777200] Creating 3 MTD partitions on "30000000.nand":
    [    1.782591] 0x000000000000-0x000000100000 : "u-boot"
    [    1.788597] 0x000000100000-0x000000180000 : "params"
    [    1.794545] 0x000000180000-0x000008000000 : "ubifs"
    [    1.800488] davinci_nand 30000000.nand: controller rev. 2.5
    [    1.806905] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [    1.814375] m25p80 spi32766.0: found n25q128a11, expected n25q128
    [    1.820453] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [    1.825769] 2 ofpart partitions found on MTD device spi32766.0
    [    1.831579] Creating 2 MTD partitions on "spi32766.0":
    [    1.836708] 0x000000000000-0x000000080000 : "u-boot-spl"
    [    1.843039] 0x000000080000-0x000001000000 : "test"
    [    1.849339] spi_davinci 21000400.spi: Controller at 0xf0078400
    [    1.857083] keystone-netcp 2f00000.netcp: No streaming regs defined
    [    1.864909] keystone-netcp 2090000.netcp: Created interface "eth0"
    [    1.871078] keystone-netcp 2090000.netcp: dma_chan_name nettx0
    [    1.878233] keystone-netcp 2090000.netcp: Created interface "eth1"
    [    1.884417] keystone-netcp 2090000.netcp: dma_chan_name nettx1
    [    1.892047] keystone-dwc3 2690000.dwc: usbss revision 47914300
    [    1.897923] keystone-dwc3 2690000.dwc: mapped irq 425 to virq 608
    [    2.107687] xhci-hcd xhci-hcd: xHCI Host Controller
    [    2.112587] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
    [    2.120944] xhci-hcd xhci-hcd: irq 608, io mem 0x02690000
    [    2.126452] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.133229] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.140427] usb usb1: Product: xHCI Host Controller
    [    2.145295] usb usb1: Manufacturer: Linux 3.8.4 xhci-hcd
    [    2.150588] usb usb1: SerialNumber: xhci-hcd
    [    2.155462] hub 1-0:1.0: USB hub found
    [    2.159211] hub 1-0:1.0: 1 port detected
    [    2.163441] xhci-hcd xhci-hcd: xHCI Host Controller
    [    2.168312] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
    [    2.175474] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    2.182240] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.189448] usb usb2: Product: xHCI Host Controller
    [    2.194317] usb usb2: Manufacturer: Linux 3.8.4 xhci-hcd
    [    2.199610] usb usb2: SerialNumber: xhci-hcd
    [    2.204444] hub 2-0:1.0: USB hub found
    [    2.208190] hub 2-0:1.0: 1 port detected
    [    2.212487] Initializing USB Mass Storage driver...
    [    2.217537] usbcore: registered new interface driver usb-storage
    [    2.223533] USB Mass Storage support registered.
    [    2.228479] mousedev: PS/2 mouse device common for all mice
    [    2.234382] i2c /dev entries driver
    [    2.238606] watchdog 22f0080.wdt: heartbeat 60 sec
    [    2.243788] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [    2.250835] usbcore: registered new interface driver usbhid
    [    2.256402] usbhid: USB HID core driver
    [    2.260723]  remoteproc0: 2620040.dsp0 is available
    [    2.265604]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    2.274539]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.284898]  remoteproc0: no firmware found
    [    2.289483]  remoteproc1: 2620044.dsp1 is available
    [    2.294363]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    2.303306]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.313660]  remoteproc1: no firmware found
    [    2.318251]  remoteproc2: 2620048.dsp2 is available
    [    2.323136]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    2.332063]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.342431]  remoteproc2: no firmware found
    [    2.347022]  remoteproc3: 262004c.dsp3 is available
    [    2.351881]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    2.360825]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.371182]  remoteproc3: no firmware found
    [    2.375775]  remoteproc4: 2620050.dsp4 is available
    [    2.380635]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [    2.389578]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.399934]  remoteproc4: no firmware found
    [    2.404520]  remoteproc5: 2620054.dsp5 is available
    [    2.409380]  remoteproc5: Note: remoteproc is still under development and considered experimental.
    [    2.418324]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.428694]  remoteproc5: no firmware found
    [    2.433277]  remoteproc6: 2620058.dsp6 is available
    [    2.438138]  remoteproc6: Note: remoteproc is still under development and considered experimental.
    [    2.447082]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.457438]  remoteproc6: no firmware found
    [    2.462025]  remoteproc7: 262005c.dsp7 is available
    [    2.466903]  remoteproc7: Note: remoteproc is still under development and considered experimental.
    [    2.475840]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.486192]  remoteproc7: no firmware found
    [    2.490863] oprofile: no performance counters
    [    2.495505] oprofile: using timer interrupt.
    [    2.500072] GACT probability on
    [    2.503217] Mirror/redirect action on
    [    2.506870] Simple TC action Loaded
    [    2.511052] netem: version 1.3
    [    2.514120] u32 classifier
    [    2.516815]     Performance counters on
    [    2.520633]     input device check on
    [    2.524289]     Actions configured
    [    2.527687] Netfilter messages via NETLINK v0.30.
    [    2.532387] nf_conntrack version 0.5.0 (16128 buckets, 64512 max)
    [    2.539186] ctnetlink v0.93: registering with nfnetlink.
    [    2.544921] IPv4 over IPv4 tunneling driver
    [    2.549750] gre: GRE over IPv4 demultiplexor driver
    [    2.554625] ip_gre: GRE over IPv4 tunneling driver
    [    2.560260] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.565723] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    2.572089] arp_tables: (C) 2002 David S. Miller
    [    2.576757] TCP: cubic registered
    [    2.580058] Initializing XFRM netlink socket
    [    2.585255] NET: Registered protocol family 10
    [    2.590780] NET: Registered protocol family 17
    [    2.595253] NET: Registered protocol family 15
    [    2.599761] Bridge firewalling registered
    [    2.603776] Ebtables v2.0 registered
    [    2.607434] 8021q: 802.1Q VLAN Support v1.8
    [    2.614846] sctp: Hash tables configured (established 65536 bind 65536)
    [    2.621625] NET: Registered protocol family 40
    [    2.626282] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    2.633957] Registering SWP/SWPB emulation handler
    [    2.645226] VFS: Cannot open root device "ram0" or unknown-block(0,0): error -6
    [    2.652509] Please append a correct "root=" boot option; here are the available partitions:
    [    2.660857] 1f00            1024 mtdblock0  (driver?)
    [    2.665910] 1f01             512 mtdblock1  (driver?)
    [    2.670952] 1f02          129536 mtdblock2  (driver?)
    [    2.676002] 1f03             512 mtdblock3  (driver?)
    [    2.681043] 1f04           15872 mtdblock4  (driver?)
    [    2.686092] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    2.694357] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c04722d4>] (panic+0x90/0x1e4)
    [    2.702523] [<c04722d4>] (panic+0x90/0x1e4) from [<c0633d28>] (mount_block_root+0x184/0x230)
    [    2.710943] [<c0633d28>] (mount_block_root+0x184/0x230) from [<c0633ec8>] (mount_root+0xf4/0x114)
    [    2.719794] [<c0633ec8>] (mount_root+0xf4/0x114) from [<c0634014>] (prepare_namespace+0x12c/0x180)
    [    2.728732] [<c0634014>] (prepare_namespace+0x12c/0x180) from [<c046f458>] (kernel_init+0x8/0xe4)
    [    2.737584] [<c046f458>] (kernel_init+0x8/0xe4) from [<c000dbb8>] (ret_from_fork+0x14/0x3c)
    [    2.745910] CPU0: stopping
    [    2.748624] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160)
    [    2.757301] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c)
    [    2.765894] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c0477f00>] (__irq_svc+0x40/0x50)
    [    2.774216] Exception stack(0xc0675f60 to 0xc0675fa8)
    [    2.779252] 5f60: c0ef7b20 00000000 0000269e 00000000 c0674000 c0674000 c06b0e08 c0674000
    [    2.787404] 5f80: c0682450 412fc0f4 00000000 00000000 00000000 c0675fa8 c000eafc c000eb00
    [    2.795552] 5fa0: 60000113 ffffffff
    [    2.799039] [<c0477f00>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30)
    [    2.807197] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0)
    [    2.815271] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<c06337f8>] (start_kernel+0x2ec/0x340)
    [    2.823515] [<c06337f8>] (start_kernel+0x2ec/0x340) from [<80008088>] (0x80008088)
    [    2.831059] CPU1: stopping
    [    2.833772] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160)
    [    2.842449] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c)
    [    2.851039] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c0477f00>] (__irq_svc+0x40/0x50)
    [    2.859361] Exception stack(0xee0e3f90 to 0xee0e3fd8)
    [    2.864396] 3f80:                                     c0effb20 00000000 00000cda 00000000
    [    2.872547] 3fa0: ee0e2000 ee0e2000 c06b0e08 ee0e2000 c0682450 412fc0f4 00000000 00000000
    [    2.880697] 3fc0: 00000000 ee0e3fd8 c000eafc c000eb00 60000113 ffffffff
    [    2.887299] [<c0477f00>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30)
    [    2.895456] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0)
    [    2.903525] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<80657a28>] (0x80657a28)
    [    2.910549] CPU2: stopping
    [    2.913263] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160)
    [    2.921939] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c)
    [    2.930529] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c0477f00>] (__irq_svc+0x40/0x50)
    [    2.938850] Exception stack(0xee0e5f90 to 0xee0e5fd8)
    [    2.943886] 5f80:                                     c0f07b20 00000000 0000033a 00000000
    [    2.952037] 5fa0: ee0e4000 ee0e4000 c06b0e08 ee0e4000 c0682450 412fc0f4 00000000 00000000
    [    2.960186] 5fc0: 00000000 ee0e5fd8 c000eafc c000eb00 60000113 ffffffff
    [    2.966786] [<c0477f00>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30)
    [    2.974943] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0)
    [    2.983011] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<80657a28>] (0x80657a28)
    
    

    The end prints are as follows:

    ............

    [ 2.626282] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 2.633957] Registering SWP/SWPB emulation handler
    [ 2.645226] VFS: Cannot open root device "ram0" or unknown-block(0,0): error -6
    [ 2.652509] Please append a correct "root=" boot option; here are the available partitions:
    [ 2.660857] 1f00 1024 mtdblock0 (driver?)
    [ 2.665910] 1f01 512 mtdblock1 (driver?)
    [ 2.670952] 1f02 129536 mtdblock2 (driver?)
    [ 2.676002] 1f03 512 mtdblock3 (driver?)
    [ 2.681043] 1f04 15872 mtdblock4 (driver?)
    [ 2.686092] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [ 2.694357] [<c0015260>] (unwind_backtrace+0x0/0xf8) from [<c04722d4>] (panic+0x90/0x1e4)
    [ 2.702523] [<c04722d4>] (panic+0x90/0x1e4) from [<c0633d28>] (mount_block_root+0x184/0x230)
    [ 2.710943] [<c0633d28>] (mount_block_root+0x184/0x230) from [<c0633ec8>] (mount_root+0xf4/0x114)
    [ 2.719794] [<c0633ec8>] (mount_root+0xf4/0x114) from [<c0634014>] (prepare_namespace+0x12c/0x180)
    [ 2.728732] [<c0634014>] (prepare_namespace+0x12c/0x180) from [<c046f458>] (kernel_init+0x8/0xe4)
    [ 2.737584] [<c046f458>] (kernel_init+0x8/0xe4) from [<c000dbb8>] (ret_from_fork+0x14/0x3c)

    ...................

    Please can someone suggest a solution to resolve this issue.

    Thank you,

    -Vishnu


  • args_ramfs=setenv bootargs console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,265M.

    You can use the RAMDISK size in ~70MB maximum.


    Can someone help me how to load a large fs and what parameters to change in boot arguments?

    Can't load and use the larger RAMDISK file 256MB on DDR.

    Please refer to the following TI wiki.
    processors.wiki.ti.com/.../MCSDK_UG_Chapter_Exploring

    You can do the following boot methods for larger rootfs.
    You can use NAND booting (UBIFS)
    You can also use NFS booting
  • Hello Titus, Thank you for your reply. I will try to boot Linux using uinitrd.

    But solved the problem of mcsdk_3_00_00_11 kernel images. You have to load the .cpio.gz fs.

    regards,

    -Vishnu