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.

RTOS/AM5728: TFTP boot

Part Number: AM5728


Tool/software: TI-RTOS

i am facing issue in tftp booting for remote tftp server,

how to boot am572x via tftp using inintramfs ??

  • Is this TI-RTOS or Linux? Which version?
  • Please provide the error log.

    Can you ping the tftp server?
    Have you confirmed tftp server is setup properly (tftp daemon started, folder with images is present on the server)?
    Does you target board have and IP address (either static or dhcp)?

    You my find the following information helpful.

    processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide
  • yes i can ping the tftp server,
    for board i set ip addr through setenv option (like setenv ipaddr 10.103.3.234)

    i can't able to create minimal file system for my board which will take via tftp !!
    how to create image file for am572x board which will take minimal file system from initramfs via TFTP server???
  • U-Boot SPL 2017.01-00458-g32d3fcd-dirty (Jul 17 2018 - 13:54:30)
    G3Z UBL VER 1
    DRA752-GP ES2.0
    Trying to boot from NAND
    Booting U-boot from block 7
    
    U-Boot 2017.01-00458-g32d3fcd-dirty (Jul 17 2018 - 13:54:30 +0530)
    
    CPU  : DRA752-GP ES2.0
    Board: AM5726 G3Z REV 2.0 VER 2
    I2C:   ready
    DRAM:  2 GiB
    NAND:  1024 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment
    
    initializing smps
    PHY is initialized
    OV798 Sensor reset 
    GPIO7_5 reset
    GPIO7_4 reset
    Main Filesystem is ok
    Value Read is 0x50
    Looks like Kernel is corrupted Lets read from backup partition 
    Value Read is 0x25
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot:  0 
    G3Z-NAND > 
    G3Z-NAND > 
    G3Z-NAND > setenv serverip 10.xxx.x.xxx
    G3Z-NAND > setenv ipaddr 10.xxx.x.xxx
    G3Z-NAND > tftpboot 0x82000000 zImage
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 10.xxx.x.xxx; our IP address is 10.xxx.x.xxx
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ###################
             3 MiB/s
    done
    Bytes transferred = 6748816 (66fa90 hex)
    G3Z-NAND > tftpboot 0x88000000 am57xx-beagle-x15.dtb
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 10.xxx.x.xxx; our IP address is 10.xxx.x.xxx
    Filename 'am57xx-beagle-x15.dtb'.
    Load address: 0x88000000
    Loading: #####################
             3.1 MiB/s
    done
    Bytes transferred = 107048 (1a228 hex)
    G3Z-NAND > bootz 0x82000000 - 0x88000000
    Looks like Main Kernel is corrupted Lets read from backup partition 
    Value Read is 0x25
     WDT Started 
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe2000, end 8ffff227 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.69-g9ce43c71ae (root@AHMCPU1852) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #27 SMP PREEMPT Wed Sep 8
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: TI AM5728 BeagleBoard-X15
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] percpu: Embedded 13 pages/cpu @eed33000 s22080 r8192 d22976 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 471616
    [    0.000000] Kernel command line: androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmbd
    [    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] Memory: 1669552K/1893376K available (8192K kernel code, 317K rwdata, 2436K rodata, 4096K init, 304K bss, 35408K reserved, 188416K )
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1200000   (4096 kB)
    [    0.000000]       .data : 0xc1200000 - 0xc124f5c8   ( 318 kB)
    [    0.000000]        .bss : 0xc1251000 - 0xc129d2b0   ( 305 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (virt).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000015] Switching to timer-based delay loop, resolution 162ns
    [    0.000333] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000340] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000770] Console: colour dummy device 80x30
    [    0.000794] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000807] pid_max: default: 32768 minimum: 301
    [    0.000912] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000922] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001584] CPU: Testing write buffer coherency: ok
    [    0.001789] /cpus/cpu@0 missing clock-frequency property
    [    0.001805] /cpus/cpu@1 missing clock-frequency property
    [    0.001816] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001833] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080060] EFI services will not be available.
    [    0.170315] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170405] Brought up 2 CPUs
    [    0.170418] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170426] CPU: All CPU(s) started in SVC mode.
    [    0.170813] devtmpfs: initialized
    [    0.198484] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.198732] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198749] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.202107] pinctrl core: initialized pinctrl subsystem
    [    0.202908] NET: Registered protocol family 16
    [    0.203799] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.204886] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.353356] omap_hwmod: gpu: _wait_target_ready failed: -16
    [    0.353368] omap_hwmod: gpu: cannot be enabled for reset (3)
    [    0.450407] cpuidle: using governor ladder
    [    0.480436] cpuidle: using governor menu
    [    0.491246] OMAP GPIO hardware version 0.1
    [    0.505910] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.506406] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.506844] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.507280] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.507719] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.525497] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpmc_pins_default, deferring probe
    [    0.535397] No ATAGs?
    [    0.535421] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.535429] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.535792] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.535801] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.536335] OMAP DMA hardware revision 0.0
    [    0.581513] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.582859] edma 43300000.edma: memcpy is disabled
    [    0.587635] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.591941] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.592129] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.592287] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.592442] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.592717] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.592908] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.595625] palmas 0-0058: Irq flag is 0x00000008
    [    0.622430] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.626324] vtt_fixed: supplied by smps3
    [    0.671518] random: fast init done
    [    0.702144] vdd_3v3: supplied by regen1
    [    0.702370] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.705380] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.705897] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.706485] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.706667] media: Linux media interface: v0.10
    [    0.706712] Linux video capture interface: v2.00
    [    0.706746] pps_core: LinuxPPS API ver. 1 registered
    [    0.706753] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.706772] PTP clock support registered
    [    0.706806] EDAC MC: Ver: 3.0.0
    [    0.707780] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.708074] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.708370] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.708661] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.708998] Advanced Linux Sound Architecture Driver Initialized.
    [    0.709824] clocksource: Switched to clocksource arch_sys_counter
    [    0.720432] NET: Registered protocol family 2
    [    0.720934] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.720997] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.721122] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.721169] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.721200] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.721378] NET: Registered protocol family 1
    [    0.721712] RPC: Registered named UNIX socket transport module.
    [    0.721721] RPC: Registered udp transport module.
    [    0.721728] RPC: Registered tcp transport module.
    [    0.721734] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.934263] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.937366] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.944781] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.945477] NFS: Registering the id_resolver key type
    [    0.945503] Key type id_resolver registered
    [    0.945511] Key type id_legacy registered
    [    0.945550] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.946727] bounce: pool size: 64 pages
    [    0.946864] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.946874] io scheduler noop registered
    [    0.946881] io scheduler deadline registered
    [    0.947008] io scheduler cfq registered (default)
    [    0.952842] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.955641] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
    [    0.955964] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.955976] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.956009] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.956030] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.957404] dra7-pcie 51000000.pcie: phy link never came up
    [    1.957571] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.957583] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.957593] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.957603] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.957981] PCI: bus0: Fast back to back transfers disabled
    [    1.958095] PCI: bus1: Fast back to back transfers enabled
    [    1.958212] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.958227] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.958240] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.958464] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.958920] dra7-pcie 51800000.pcie: Linked as a consumer to phy-4a095000.pciephy.4
    [    1.959164] OF: PCI: host bridge /ocp/axi@1/pcie@51800000 ranges:
    [    1.959174] OF: PCI:   No bus range found for /ocp/axi@1/pcie@51800000, using [bus 00-ff]
    [    1.959206] OF: PCI:    IO 0x30003000..0x30012fff -> 0x00000000
    [    1.959226] OF: PCI:   MEM 0x30013000..0x3fffffff -> 0x30013000
    [    2.960646] dra7-pcie 51800000.pcie: phy link never came up
    [    2.960808] dra7-pcie 51800000.pcie: PCI host bridge to bus 0001:00
    [    2.960821] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    2.960832] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
    [    2.960842] pci_bus 0001:00: root bus resource [mem 0x30013000-0x3fffffff]
    [    2.961189] PCI: bus0: Fast back to back transfers disabled
    [    2.961303] PCI: bus1: Fast back to back transfers enabled
    [    2.961438] pci 0001:00:00.0: BAR 0: assigned [mem 0x30100000-0x301fffff]
    [    2.961453] pci 0001:00:00.0: BAR 1: assigned [mem 0x30020000-0x3002ffff]
    [    2.961465] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    2.961671] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
    [    3.025231] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    3.028683] console [ttyS2] disabled
    [    3.028734] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    4.129894] console [ttyS2] enabled
    [    4.134309] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 304, base_baud = 3000000) is a 8250
    [    4.144034] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 305, base_baud = 3000000) is a 8250
    [    4.153713] 48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 306, base_baud = 3000000) is a 8250
    [    4.163425] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 307, base_baud = 3000000) is a 8250
    [    4.174170] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    4.180962] [drm] Initialized
    [    4.185817] OMAP DSS rev 6.1
    [    4.189200] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    4.197655] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    4.278726] brd: module loaded
    [    4.297036] loop: module loaded
    [    4.304913] libphy: Fixed MDIO Bus: probed
    [    4.369853] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    4.375978] libphy: 48485000.mdio: probed
    [    4.384674] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver Micrel KSZ9031 Gigabit PHY
    [    4.394922] cpsw 48484000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    4.403245] cpsw 48484000.ethernet: Missing dual_emac_res_vlan in DT.
    [    4.409715] cpsw 48484000.ethernet: Using 2 as Reserved VLAN for 1 slave
    [    4.416485] cpsw 48484000.ethernet: Detected MACID = fc:0f:4b:9b:06:12
    [    4.423129] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    4.430204] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    4.438351] cpsw 48484000.ethernet: cpsw: Detected MACID = fc:0f:4b:9b:06:13
    [    4.446939] mousedev: PS/2 mouse device common for all mice
    [    4.452875] i2c /dev entries driver
    [    4.458473] tmp102 0-0048: error reading config register
    [    4.463931] tmp102: probe of 0-0048 failed with error -121
    [    4.474495] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    4.550240] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    4.556619] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    4.640337] ledtrig-cpu: registered to indicate activity on CPUs
    [    4.651442] NET: Registered protocol family 10
    [    4.666562] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    4.672917] NET: Registered protocol family 17
    [    4.677519] Key type dns_resolver registered
    [    4.681920] omap_voltage_late_init: Voltage driver support not added
    [    4.688366] Power Management for TI OMAP4+ devices.
    [    4.693483] Registering SWP/SWPB emulation handler
    [    4.706434] dmm 4e000000.dmm: workaround for errata i878 in use
    [    4.713672] dmm 4e000000.dmm: initialized all PAT entries
    [    4.720404] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    4.727044] [drm] No driver support for vblank timestamp query.
    [    4.862368] EDID block is all zeroes
    [    4.868735] [drm] Enabling DMM ywrap scrolling
    [    4.894496] Console: switching to colour frame buffer device 128x48
    [    4.904633] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    4.950948] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    4.956111] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    4.963434] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
    [    4.969838] nand: Micron MT29F8G08ABACAWP
    [    4.973863] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
    [    4.981727] using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [    4.986733] 15 ofpart partitions found on MTD device omap2-nand.0
    [    4.992865] Creating 15 MTD partitions on "omap2-nand.0":
    [    4.998286] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    5.004354] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    5.021053] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    5.037692] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    5.044340] 0x000000100000-0x000000140000 : "NAND.u-boot-spl-os"
    [    5.051157] 0x000000140000-0x000000180000 : "NAND.u-boot-spl-os-backup"
    [    5.058579] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [    5.064881] 0x000000280000-0x000000380000 : "NAND.u-boot-backup"
    [    5.071789] 0x000000380000-0x0000003c0000 : "NAND.u-boot-env"
    [    5.088374] 0x0000003c0000-0x000000400000 : "NAND.u-boot-env.backup1"
    [    5.095643] 0x000000400000-0x000000c00000 : "NAND.kernel"
    [    5.112570] 0x000000c00000-0x000001400000 : "NAND.kernel-bkp"
    [    5.119793] 0x000001400000-0x00001d600000 : "NAND.file-system"
    [    5.166698] 0x00001d600000-0x000023f00000 : "NAND.application"
    [    5.182741] 0x000023f00000-0x000040000000 : "NAND.file-system-backup"
    [    5.240647] hctosys: unable to open rtc device (rtc0)
    [    5.246577] aic_dvdd_fixed: disabling
    [    5.250454] ldousb: disabling
    [    5.253708] ALSA device list:
    [    5.256685]   No soundcards found.
    [    5.260830] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
    [    5.268343] Please append a correct "root=" boot option; here are the available partitions:
    [    5.276782] 0100           65536 ram0 [    5.280423]  (driver?)
    [    5.282797] 0101           65536 ram1 [    5.286382]  (driver?)
    [    5.288752] 0102           65536 ram2 [    5.292379]  (driver?)
    [    5.294751] 0103           65536 ram3 [    5.298337]  (driver?)
    [    5.300727] 0104           65536 ram4 [    5.304313]  (driver?)
    [    5.306684] 0105           65536 ram5 [    5.310301]  (driver?)
    [    5.312674] 0106           65536 ram6 [    5.316259]  (driver?)
    [    5.318630] 0107           65536 ram7 [    5.322231]  (driver?)
    [    5.324605] 0108           65536 ram8 [    5.328189]  (driver?)
    [    5.330589] 0109           65536 ram9 [    5.334173]  (driver?)
    [    5.336544] 010a           65536 ram10 [    5.340228]  (driver?)
    [    5.342599] 010b           65536 ram11 [    5.346270]  (driver?)
    [    5.348640] 010c           65536 ram12 [    5.352323]  (driver?)
    [    5.354694] 010d           65536 ram13 [    5.358365]  (driver?)
    [    5.360747] 010e           65536 ram14 [    5.364419]  (driver?)
    [    5.366788] 010f           65536 ram15 [    5.370471]  (driver?)
    [    5.372846] 1f00             256 mtdblock0 [    5.376866]  (driver?)
    [    5.379235] 1f01             256 mtdblock1 [    5.383267]  (driver?)
    [    5.385637] 1f02             256 mtdblock2 [    5.389657]  (driver?)
    [    5.392036] 1f03             256 mtdblock3 [    5.396057]  (driver?)
    [    5.398425] 1f04             256 mtdblock4 [    5.402513]  (driver?)
    [    5.404910] 1f05             256 mtdblock5 [    5.408973]  (driver?)
    [    5.411381] 1f06            1024 mtdblock6 [    5.415454]  (driver?)
    [    5.417848] 1f07            1024 mtdblock7 [    5.421925]  (driver?)
    [    5.424319] 1f08             256 mtdblock8 [    5.428380]  (driver?)
    [    5.430787] 1f09             256 mtdblock9 [    5.434849]  (driver?)
    [    5.437339] 1f0a            8192 mtdblock10 [    5.441455]  (driver?)
    [    5.443824] 1f0b            8192 mtdblock11 [    5.447931]  (driver?)
    [    5.450308] 1f0c          460800 mtdblock12 [    5.454415]  (driver?)
    [    5.456781] 1f0d          107520 mtdblock13 [    5.460898]  (driver?)
    [    5.463265] 1f0e          459776 mtdblock14 [    5.467372]  (driver?)
    [    5.469740] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    5.478039] CPU0: stopping
    [    5.480756] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.69-g9ce43c71ae #27
    [    5.487830] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    5.493943] Backtrace: 
    [    5.496414] [<c020b2b8>] (dump_backtrace) from [<c020b574>] (show_stack+0x18/0x1c)
    [    5.504013]  r7:c1201ef0 r6:200f0193 r5:00000000 r4:c12227a8
    [    5.509696] [<c020b55c>] (show_stack) from [<c04ceb54>] (dump_stack+0x8c/0xa0)
    [    5.516948] [<c04ceac8>] (dump_stack) from [<c020e6e0>] (handle_IPI+0x170/0x184)
    [    5.524371]  r7:c1201ef0 r6:00000000 r5:00000000 r4:c117cde0
    [    5.530053] [<c020e570>] (handle_IPI) from [<c02014d4>] (gic_handle_irq+0x78/0x7c)
    [    5.537650]  r7:fa212000 r6:c1201ef0 r5:fa21200c r4:c120342c
    [    5.543330] [<c020145c>] (gic_handle_irq) from [<c020c038>] (__irq_svc+0x58/0x8c)
    [    5.550838] Exception stack(0xc1201ef0 to 0xc1201f38)
    [    5.555906] 1ee0:                                     00000001 00000000 fe600000 00000000
    [    5.564115] 1f00: c1200000 c120303c 00000001 c12030a4 00000000 00000000 c12030ac c1201f4c
    [    5.572322] 1f20: c1201f2c c1201f40 c0220dac c02086f4 600f0013 ffffffff
    [    5.578962]  r9:c1200000 r8:00000000 r7:c1201f24 r6:ffffffff r5:600f0013 r4:c02086f4
    [    5.586739] [<c02086cc>] (arch_cpu_idle) from [<c08d61d4>] (default_idle_call+0x28/0x34)
    [    5.594862] [<c08d61ac>] (default_idle_call) from [<c026ed98>] (cpu_startup_entry+0x1b4/0x230)
    [    5.603510] [<c026ebe4>] (cpu_startup_entry) from [<c08d14c4>] (rest_init+0x8c/0x90)
    [    5.611280]  r7:00000000
    [    5.613824] [<c08d1438>] (rest_init) from [<c0e00d7c>] (start_kernel+0x3d8/0x3e4)
    [    5.621333]  r5:c1251000 r4:c125104c
    [    5.624920] [<c0e009a4>] (start_kernel) from [<80008090>] (0x80008090)
    [    5.631472]  r10:00000000 r9:412fc0f2 r8:80007000 r7:c1207808 r6:c0e48a2c r5:c120301c
    [    5.639329]  r4:c1251214
    [    5.641874] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    6.127892] EDID block is all zeroes
    [    6.389826] omapdrm omapdrm.0: atomic complete timeout (pipe 0)!
    
    

    error log are in log.txt

  • any solution for this case ??
  • Please see the following post for guidance to tftp boot setup

    e2e.ti.com/.../2690818
  • i get following message for above shared link

    Unfortunately, the page you've requested no longer exists. Please use the search form above to locate the information you're interested in.
  • The link Marcus provided should now be working. Please try it again and see if that gets you up and running. Thanks.
  • amol chor said:
    i can't able to create minimal file system for my board which will take via tftp !!
    how to create image file for am572x board which will take minimal file system from initramfs via TFTP server???

    Upon looking into this issue further, I think this is your primary issue?

    If so, this is a generic Linux question and there is nothing that needs to be done specifically for TI platforms; it is all generic Linux. There are several good guides on the web to help with creating an initramfs in Linux.

    The base filesystem provided with the SDK in sdk/filesystem may be a good candidate as a starting point. You'll need to change the init to point to systemd, which is a documented requirement for setting up an initramfs.

    From the log, it looks like you've possibly done something with this, but I don't know what FS you started with.

    Can you try the base FS, make the changes required, and see if that works for you?

    Thanks, Ron