cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
avinash.pisal.s
Participant
Participant
8,125 Views
Registered: ‎08-08-2013

petalinux boot stuck on artix 7

Jump to solution

Hi,

 

I am trying to boot petalinux on Artix-7 custom board.Dring boot console not showing any progress after "/random: nonblocking pool is initialized" display. can anyone suggest what could be reason for this and how i can debug this issue.please check the attachment for console messages.

 

Thanks.

0 Kudos
Reply
1 Solution

Accepted Solutions
avinash.pisal.s
Participant
Participant
15,097 Views
Registered: ‎08-08-2013

Now i am successfully able to boot peta-linux on hardware.The problem resolve after referring xapp797_kc705_enh_quad_md reference design connection for M_AXI_IC and M_AXI_DC ports.This reference design is helpful for petalinux-based designs.

 

 

View solution in original post

0 Kudos
Reply
2 Replies
avinash.pisal.s
Participant
Participant
8,095 Views
Registered: ‎08-08-2013

After using petalinux-xxx  commands instead of cmd command can see progress in kernel boot,but now booting stop at login stage. Following are the console messages.

 



U-Boot 2015.07 (Mar 10 2016 - 13:10:54 +0530)

DRAM:  1 GiB
Using default environment

In:    ttyUL0
Out:   ttyUL0
Err:   serial
Net:   No ethernet found.
U-BOOT for mb_uart_test4

Hit any key to stop autoboot:  0
No boot method defined!!!
U-Boot-PetaLinux>








Ramdisk addr 0x7ffe591c,
Compiled-in FDT at c0371578
Linux version 4.0.0 (root@ubuntu) (gcc version 4.9.2 (crosstool-NG 1.20.0) ) #3 Thu Mar 10 13:11:33 IST 2016
setup_cpuinfo: initialising
setup_cpuinfo: Using full CPU PVR support
wt_msr_noirq
setup_memory: max_mapnr: 0x40000
setup_memory: min_low_pfn: 0x40000
setup_memory: max_low_pfn: 0x70000
setup_memory: max_pfn: 0x80000
Zone ranges:
  DMA      [mem 0x0000000040000000-0x000000006fffffff]
  Normal   empty
  HighMem  [mem 0x0000000070000000-0x000000007fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000040000000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
On node 0 totalpages: 262144
free_area_init_node: node 0, pgdat c048ad84, node_mem_map c1000000
  DMA zone: 1536 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 196608 pages, LIFO batch:31
  HighMem zone: 65536 pages, LIFO batch:15
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
Kernel command line: console=ttyUL0,9600 earlyprintk
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1030604K/1048576K available (3525K kernel code, 114K rwdata, 972K rodata, 2912K init, 556K bss, 17972K reserved, 0K cma-reserved, 262144K highmem)
Kernel virtual memory layout:
  * 0xfffea000..0xfffff000  : fixmap
  * 0xff800000..0xffc00000  : highmem PTEs
  * 0xff800000..0xff800000  : early ioremap
  * 0xf0000000..0xff800000  : vmalloc & ioremap
NR_IRQS:33
/amba_pl/interrupt-controller@80000000: num_irq=4, edge=0x4
/amba_pl/timer@80010000: irq=1
xilinx_timer_set_mode: shutdown
xilinx_timer_set_mode: periodic
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949672950ns
Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
devtmpfs: initialized
NET: Registered protocol family 16
Switched to clocksource xilinx_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 24576 bytes)
UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Skipping unavailable RESET gpio -2 (reset)
futex hash table entries: 16 (order: -4, 448 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1.840:1): initialized
romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
80020000.serial: ttyUL0 at MMIO 0x80020000 (irq = 4, base_baud = 0) is a uartlite
console [ttyUL0] enabled
brd: module loaded
i2c /dev entries driver
TCP: cubic registered
NET: Registered protocol family 17
Key type encrypted registuFreeing unused kernel memory: 2912K (c048c000 - c0764000)
INIT: version 2.88 booting
Creating /dev/flash/* device nodes
random: dd urandom read with 11 bits of entropy available
Starting internet superserver: inetd.
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any system startup links for run-postinsts ...
  /etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device

Built with PetaLinux v2015.4 (Yocto 1.8) mb_uart_test4 /dev/ttyUL0
mb_uart_test4 login: random: nonblocking pool is initialized
root
Password:
Log
Built with PetaLinux v2015.4 (Yocto 1.8) mb_uart_test4 /dev/ttyUL0
mb_uart_test4 login:

0 Kudos
Reply
avinash.pisal.s
Participant
Participant
15,098 Views
Registered: ‎08-08-2013

Now i am successfully able to boot peta-linux on hardware.The problem resolve after referring xapp797_kc705_enh_quad_md reference design connection for M_AXI_IC and M_AXI_DC ports.This reference design is helpful for petalinux-based designs.

 

 

View solution in original post

0 Kudos
Reply