Git Product home page Git Product logo

Comments (11)

dave18 avatar dave18 commented on July 18, 2024

I've also tried mtdblock4 as this seems to have the jffs2 file system on it, this give the following

U-Boot 2015.07 (May 18 2017 - 22:22:09 +0800)

Model: Zynq Zed Development Board
DRAM: ECC disabled 256 MiB
NAND: 128 MiB
MMC: zynq_sdhci: 0
Invalid bus 0 (err=-1)
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq Zed Development Board
Net: Gem.e000b000
Hit 'd' to stop autoboot(eric): 0
zynq-uboot> setenv nandboot "echo Copying Linux from NAND flash to RAM... && nand info && run nandroot;nand read 0x100000 0x2220000 0x300000 && fpga loadb 0 0x100000 0x300000 && nand read ${kernel_load_address} 0x300000 ${kernel_size} && nand read ${devicetree_load_address} 0x800000 ${devicetree_size}"
zynq-uboot> run nandboot
Copying Linux from NAND flash to RAM...

Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
subpagesize 512 b
options 0x 0
bbt options 0x 20000

Error: "nandroot" not defined

NAND read: device 0 offset 0x2220000, size 0x300000
3145728 bytes read: OK
design filename = "top_ctrl;UserID=0XFFFFFFFF;Version=2016.4"
part number = "7z010clg400"
date = "2017/05/29"
time = "11:17:01"
bytes in bitstream = 2083740
zynq_align_dma_buffer: Align buffer at 100068 to 100000(swap 1)

NAND read: device 0 offset 0x300000, size 0x500000
5242880 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x20000
131072 bytes read: OK
zynq-uboot> setenv bootargs 'console=ttyPS0,115200 root=/dev/mtdblock4 rootfstype=jffs2 noinitrd rw rootwait reboot=cold,hard emergency init=/bin/sh'
zynq-uboot> bootm ${kernel_load_address} - ${devicetree_load_address} init=/bin/sh

Booting kernel from Legacy Image at 02080000 ...

Image Name: Linux-4.6.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3820688 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK

Flattened Device Tree blob at 02000000

Booting using the fdt blob at 0x2000000
Loading Kernel Image ... OK
Loading Device Tree to 0f2fe000, end 0f303a6b ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.6.0-xilinx (root@alvin) (gcc version 5.2.0 (GCC) ) #5 SMP PREEMPT Mon May 8 14:36:49 CST 2017
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: xlnx,zynq-7000
cma: Reserved 16 MiB at 0x0e000000
Memory policy: Data cache writealloc
percpu: Embedded 12 pages/cpu @cfdcf000 s19776 r8192 d21184 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyPS0,115200 root=/dev/mtdblock4 rootfstype=jffs2 noinitrd rw rootwait reboot=cold,hard emergency init=/bin/sh
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 234624K/262144K available (5286K kernel code, 231K rwdata, 1848K rodata, 1024K init, 226K bss, 11136K reserved, 16384K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc07f7850 (8127 kB)
.init : 0xc0800000 - 0xc0900000 (1024 kB)
.data : 0xc0900000 - 0xc0939e60 ( 232 kB)
.bss : 0xc0939e60 - 0xc0972764 ( 227 kB)
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
efuse mapped to d0800000
slcr mapped to d0802000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at d0802100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce076117e, max_idle_ns: 440795215954 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at d080a000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333330)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100058
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xd0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
PTP clock support registered
EDAC MC: Ver: 3.0.0
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
workingset: timestamp_bits=28 max_order=16 bucket_order=0
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
42c00000.serial: ttyUL2 at MMIO 0x42c00000 (irq = 166, base_baud = 0) is a uartlite
e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 144, base_baud = 3124996) is a xuartps
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 145, base_baud = 3124996) is a xuartps
console [ttyPS0] enabled
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to d0872000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
CAN device driver interface
gpiod_set_value: invalid GPIO
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 148 (00:0a:35:00:01:22)
ICPlus IP101A/G e000b000.etherne:00: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.4
rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-11 addr=0e, data=03
rtc-pcf8563 0-0051: pcf8563_probe: write error
rtc-pcf8563: probe of 0-0051 failed with error -5
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 141
EDAC MC: ECC not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using DMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
nand: Unknown W29N01HV
nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: bad block at 0x000007f60000
nand_read_bbt: bad block at 0x000007f80000
nand_read_bbt: bad block at 0x000007fa0000
nand_read_bbt: bad block at 0x000007fc0000
6 ofpart partitions found on MTD device pl35x-nand
Creating 6 MTD partitions on "pl35x-nand":
0x000000000000-0x000000300000 : "nand-fsbl-uboot"
0x000000300000-0x000000800000 : "nand-linux"
0x000000800000-0x000000820000 : "nand-device-tree"
0x000000820000-0x000001220000 : "nand-rootfs"
0x000001220000-0x000002220000 : "nand-jffs2"
0x000002220000-0x000008000000 : "nand-bitstream"
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Registering SWP/SWPB emulation handler
hctosys: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
jffs2: Empty flash at 0x009030f0 ends at 0x00903800
jffs2: Empty flash at 0x009048f0 ends at 0x00905000
VFS: Mounted root (jffs2 filesystem) on device 31:4.
devtmpfs: error mounting -2
Freeing unused kernel memory: 1024K (c0800000 - c0900000)
Kernel panic - not syncing: Requested init /bin/sh failed (error -2).
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.6.0-xilinx #5
Hardware name: Xilinx Zynq Platform
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x80/0xa0)
[] (dump_stack) from [] (ipi_cpu_stop+0x3c/0x70)
[] (ipi_cpu_stop) from [] (handle_IPI+0x64/0x84)
[] (handle_IPI) from [] (gic_handle_irq+0x74/0x90)
[] (gic_handle_irq) from [] (__irq_svc+0x54/0x90)
Exception stack(0xc0901f30 to 0xc0901f78)
1f20: 00000000 00000000 0f593000 cfdd31c0
1f40: 00000000 cfdd25c0 51c108d0 00000000 5163d45f 00000000 00000000 00000000
1f60: 00000008 c0901f80 c0491c30 c0491c54 60000013 ffffffff
[] (__irq_svc) from [] (cpuidle_enter_state+0xe0/0x1b4)
[] (cpuidle_enter_state) from [] (cpu_startup_entry+0x184/0x1d0)
[] (cpu_startup_entry) from [] (start_kernel+0x2f0/0x350)
---[ end Kernel panic - not syncing: Requested init /bin/sh failed (error -2).

from ebaz4205.

DavidJRichards avatar DavidJRichards commented on July 18, 2024

Greetings dave18, I had a problem using the commands given here but found a way to make it work for me. The instructions here were supposed to have been fixed but perhaps your system is different or maybe they haven't been tested. The commands which actually worked for me are shown here: https://github.com/DavidJRichards/EBAZ4205/tree/master/uboot There is also some background information which may enable you to craft a working set of commands. hth David.

from ebaz4205.

dave18 avatar dave18 commented on July 18, 2024

Hi David, thanks for your response.

Hmm, your commands are identical to the last 2 commands given here, which suggest they have been fixed. On your site there is no command to create the boot image in memory, so does your board automatically create an image?

When I run it I get 'ERROR: can't get kernel image!'

from ebaz4205.

nic3-14159 avatar nic3-14159 commented on July 18, 2024

There might be another reason why your board isn't working. To me it looks like Linux is only detecting 6 mtd partitions. If you look here, you can see that there should be 9 mtd partitions. The partition mtd6 should be after the "nand-bitstream" partition. Maybe there's an issue with the NAND flash on your board that is causing those partitions not to be detected? I haven't figured out how to list partitions in uboot though.

from ebaz4205.

DavidJRichards avatar DavidJRichards commented on July 18, 2024

HI Dave, sorry, Having a bad day, I was looking in the wrong place. does your board boot to a Linux command prompt without any intervention? how are the boot options set? Somebody here has a board with duff one or more nand blocks. you can follow what is supposed to happen if you issue a 'printenv' command before letting the system boot. Linux kernel memory is filled from nand with the commands -- see below David.

'''
--- original nandboot: loads fpga, no ramdisk
nandboot=echo Copying Linux from NAND flash to RAM... &&
nand info &&
run nandroot;
nand read 0x100000 0x2220000 0x300000 &&
fpga loadb 0 0x100000 0x300000 &&
nand read ${kernel_load_address} 0x300000 ${kernel_size} &&
nand read ${devicetree_load_address} 0x800000 ${devicetree_size} &&
bootm ${kernel_load_address} - ${devicetree_load_address}

--- helper
nandroot=setenv bootargs 'console=ttyPS0,115200 root=/dev/mtdblock6 rootfstype=jffs2 noinitrd rw rootwait'
'''

from ebaz4205.

dave18 avatar dave18 commented on July 18, 2024

I notice that when I call 'run nandboot' it gives the following error when it tries to run nandroot '## Error: "nandroot" not defined'. printenv does not have seem to have an environment for nandroot anywhere, I've included the output at the bottom of this post.

Also, if my nand is corrupted is there any way to flash a correct image?

If I just let it boot it does seem to start successfully (until it can't reach an IP address)

printenv output

zynq-uboot> printenv
baudrate=115200
bitstream_image=system.bit.bin
boot_image=BOOT.bin
boot_size=0xF00000
bootcmd=run $modeboot
bootdelay=3
bootenv=uEnv.txt
devicetree_image=devicetree.dtb
devicetree_load_address=0x2000000
devicetree_size=0x20000
dfu_mmc=run dfu_mmc_info && dfu 0 mmc 0
dfu_mmc_info=set dfu_alt_info ${kernel_image} fat 0 1\;${devicetree_image} fat 0 1\;${ramdisk_image} fat 0 1
dfu_ram=run dfu_ram_info && dfu 0 ram 0
dfu_ram_info=set dfu_alt_info ${kernel_image} ram 0x3000000 0x500000\;${devicetree_image} ram 0x2A00000 0x20000\;${ramdisk_image} ram 0x2000000 0x600000
ethact=Gem.e000b000
ethaddr=00:0a:35:00:01:22
fdt_high=0x20000000
gatewayip=192.168.0.1
importbootenv=echo Importing environment from SD ...; env import -t ${loadbootenv_addr} $filesize
initrd_high=0x20000000
ipaddr=192.168.0.115
jtagboot=echo TFTPing Linux to RAM... && tftpboot ${kernel_load_address} ${kernel_image} && tftpboot ${devicetree_load_address} ${devicetree_image} && tftpboot ${ramdisk_load_address} ${ramdisk_image} && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
kernel_image=uImage
kernel_load_address=0x2080000
kernel_size=0x500000
loadbit_addr=0x100000
loadbootenv=load mmc 0 ${loadbootenv_addr} ${bootenv}
loadbootenv_addr=0x2000000
mmc_loadbit=echo Loading bitstream from SD/MMC/eMMC to RAM.. && mmcinfo && load mmc 0 ${loadbit_addr} ${bitstream_image} && fpga loadb 0 ${loadbit_addr} ${filesize}
modeboot=nandboot
nandboot=echo Copying Linux from NAND flash to RAM... && nand read 0x100000 0x2220000 0x300000 && fpga loadb 0 0x100000 0x300000 && nand read ${kernel_load_address} 0x300000 ${kernel_size} && nand read ${devicetree_load_address} 0x800000 ${devicetree_size} && echo Copying ramdisk... && nand read ${ramdisk_load_address} 0x820000 ${ramdisk_size} && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
nandboot0=echo Copying Linux from NAND flash to RAM... && nand read ${kernel_load_address} 0x300000 ${kernel_size} && nand read ${devicetree_load_address} 0x800000 ${devicetree_size} && echo Copying ramdisk... && nand read ${ramdisk_load_address} 0x820000 ${ramdisk_size} && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
norboot=echo Copying Linux from NOR flash to RAM... && cp.b 0xE2100000 ${kernel_load_address} ${kernel_size} && cp.b 0xE2600000 ${devicetree_load_address} ${devicetree_size} && echo Copying ramdisk... && cp.b 0xE2620000 ${ramdisk_load_address} ${ramdisk_size} && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
preboot=if test $modeboot = sdboot && env run sd_uEnvtxt_existence_test; then if env run loadbootenv; then env run importbootenv; fi; fi;
qspiboot=echo Copying Linux from QSPI flash to RAM... && sf probe 0 0 0 && sf read ${kernel_load_address} 0x100000 ${kernel_size} && sf read ${devicetree_load_address} 0x600000 ${devicetree_size} && echo Copying ramdisk... && sf read ${ramdisk_load_address} 0x620000 ${ramdisk_size} && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
ramdisk_image=uramdisk.image.gz
ramdisk_load_address=0x4000000
ramdisk_size=0xA00000
rsa_jtagboot=echo TFTPing Image to RAM... && tftpboot 0x100000 ${boot_image} && zynqrsa 0x100000 && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
rsa_nandboot=echo Copying Image from NAND flash to RAM... && nand read 0x100000 0x0 ${boot_size} && zynqrsa 0x100000 && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
rsa_norboot=echo Copying Image from NOR flash to RAM... && cp.b 0xE2100000 0x100000 ${boot_size} && zynqrsa 0x100000 && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
rsa_qspiboot=echo Copying Image from QSPI flash to RAM... && sf probe 0 0 0 && sf read 0x100000 0x0 ${boot_size} && zynqrsa 0x100000 && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
rsa_sdboot=echo Copying Image from SD to RAM... && load mmc 0 0x100000 ${boot_image} && zynqrsa 0x100000 && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}
sd_uEnvtxt_existence_test=test -e mmc 0 /uEnv.txt
sdboot=if mmcinfo; then run uenvboot; echo Copying Linux from SD to RAM... && load mmc 0 ${kernel_load_address} ${kernel_image} && load mmc 0 ${devicetree_load_address} ${devicetree_image} && load mmc 0 ${ramdisk_load_address} ${ramdisk_image} && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}; fi
serverip=192.168.0.104
stderr=serial
stdin=serial
stdout=serial
thor_mmc=run dfu_mmc_info && thordown 0 mmc 0
thor_ram=run dfu_ram_info && thordown 0 ram 0
uenvboot=if run loadbootenv; then echo Loaded environment from ${bootenv}; run importbootenv; fi; if test -n $uenvcmd; then echo Running uenvcmd ...; run uenvcmd; fi
usbboot=if usb start; then run uenvboot; echo Copying Linux from USB to RAM... && load usb 0 ${kernel_load_address} ${kernel_image} && load usb 0 ${devicetree_load_address} ${devicetree_image} && load usb 0 ${ramdisk_load_address} ${ramdisk_image} && bootm ${kernel_load_address} ${ramdisk_load_address} ${devicetree_load_address}; fi

Environment size: 5290/131068 bytes

from ebaz4205.

dave18 avatar dave18 commented on July 18, 2024

Ok, I've soldered on a TF Card slot and can access it from uboot. Would someone be able to provide me with a good flash image, then I can assume I could try:

fatload mmc 0 0x100000 image.bin
nand scrub -y 0x0 0x8000000 (mine is currently reporting bad blocks)
nand write 0x100000 0x0 0x8000000

and that should restore the nand?

from ebaz4205.

DavidJRichards avatar DavidJRichards commented on July 18, 2024

I dumped the nand images to file when I got my board, haven't dared tried writing to nand yet though and cant vouch for their contents although they look plausible. images here: https://github.com/DavidJRichards/EBAZ4205/tree/master/nand I dont know if the uboot nand writing functions work either.

from ebaz4205.

dave18 avatar dave18 commented on July 18, 2024

Thanks David

Well, it seems to have worked, took a couple of goes and I ended up doing a full erase and then writing all the MDTs back again and it is fine other than a few jffs CRC complaints.

I take it you had already renamed the bitminer script before you dumped the nand as it was already renamed for me.

Thanks again

Dave

from ebaz4205.

DavidJRichards avatar DavidJRichards commented on July 18, 2024

Thanks for the good news Dave, could you post a transcript please. Yes I guess I had already reamed the script, it was the first thing I did, Kind regards, David.

from ebaz4205.

dave18 avatar dave18 commented on July 18, 2024

U-Boot 2015.07 (May 18 2017 - 22:22:09 +0800)

Model: Zynq Zed Development Board
DRAM: ECC disabled 256 MiB
NAND: 128 MiB
MMC: zynq_sdhci: 0
Invalid bus 0 (err=-1)
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq Zed Development Board
Net: Gem.e000b000
Hit 'd' to stop autoboot(eric): 0
zynq-uboot> ls mmc 0
system volume information/
16777216 mtd4ro.bin
8388608 mtd5ro.bin
67108864 mtd6ro.bin
20840448 mtd7ro.bin
2097152 mtd8ro.bin
3145728 mtd0ro.bin
5242880 mtd1ro.bin
131072 mtd2ro.bin
10485760 mtd3ro.bin

9 file(s), 1 dir(s)

zynq-uboot> load mmc 0 0x100000 mtd8ro.bin
reading mtd8ro.bin
2097152 bytes read in 189 ms (10.6 MiB/s)

zynq-uboot> nand write 0x100000 0x7e00000 0x200000

NAND write: device 0 offset 0x7e00000, size 0x200000
Attempt to write outside the flash area
0 bytes written: ERROR

**** This is because I have bad blocks at the end of my NAND

zynq-uboot> load mmc 0 0x100000 mtd7ro.bin
reading mtd7ro.bin
20840448 bytes read in 1743 ms (11.4 MiB/s)
zynq-uboot> nand write 0x100000 0x6a20000 0x13e0000

NAND write: device 0 offset 0x6a20000, size 0x13e0000
20840448 bytes written: OK
zynq-uboot> nand bad

Device 0 bad blocks:
07f60000
07f80000
07fa0000
07fc0000
07fe0000
zynq-uboot> nand scrub -y 0x7e00000 0x200000

NAND scrub: device 0 offset 0x7e00000, size 0x200000
Erasing at 0x7fe0000 -- 100% complete.
OK
zynq-uboot> nand bad

Device 0 bad blocks:
07f80000
07fa0000
07fc0000
07fe0000
zynq-uboot> nand scrub -y 0x7f80000 0x20000

NAND scrub: device 0 offset 0x7f80000, size 0x20000
Erasing at 0x7f80000 -- 100% complete.
OK
zynq-uboot> nand bad

Device 0 bad blocks:
07f80000
07fa0000
07fc0000
07fe0000
zynq-uboot> nand scrub -y 0x7e00000 0x200000

NAND scrub: device 0 offset 0x7e00000, size 0x200000
Erasing at 0x7fe0000 -- 100% complete.
OK
zynq-uboot> nand bad

Device 0 bad blocks:
07f80000
07fa0000
07fc0000
07fe0000
zynq-uboot> load mmc 0 0x100000 mtd6ro.bin
reading mtd6ro.bin
67108864 bytes read in 5590 ms (11.4 MiB/s)
zynq-uboot> nand write 0x100000 0x2a20000 0x4000000

NAND write: device 0 offset 0x2a20000, size 0x4000000
67108864 bytes written: OK
zynq-uboot> load mmc 0 0x100000 mtd5ro.bin
reading mtd5ro.bin
8388608 bytes read in 712 ms (11.2 MiB/s)
zynq-uboot> nand write 0x100000 0x1220000 0x20000

NAND write: device 0 offset 0x1220000, size 0x20000
131072 bytes written: OK
zynq-uboot> load mmc 0 0x100000 mtd2ro.bin
reading mtd2ro.bin
131072 bytes read in 25 ms (5 MiB/s)
zynq-uboot> nand write 0x100000 0x800000 0x20000

NAND write: device 0 offset 0x800000, size 0x20000
NAND write to offset 800000 failed -5
0 bytes written: ERROR
zynq-uboot> nand write 0x100000 0x800000 0x20000

NAND write: device 0 offset 0x800000, size 0x20000
NAND write to offset 800000 failed -5
0 bytes written: ERROR
zynq-uboot> nand unlock 0x800000 0x20000
device 0 offset 0x800000, size 0x20000
NAND flash successfully unlocked
zynq-uboot> nand write 0x100000 0x800000 0x20000

NAND write: device 0 offset 0x800000, size 0x20000
NAND write to offset 800000 failed -5
0 bytes written: ERROR
zynq-uboot> nand bad

Device 0 bad blocks:
07f80000
07fa0000
07fc0000
07fe0000
zynq-uboot> load mmc 0 0x100000 mtd2ro.bin
reading mtd2ro.bin
131072 bytes read in 24 ms (5.2 MiB/s)
zynq-uboot> md 0x10000
00010000: 940a2908 2a43cbab 39bb4802 48884201 .)....C*.H.9.B.H
00010010: af44388d e2aa754d 892eb69c 0dabc8a0 .8D.Mu..........
00010020: 96014438 64400136 a8aad8a2 852cb803 8D..6.@d......,.
00010030: 32c04b82 08f831c4 d0e47690 10b83e03 .K.2.1...v...>..
00010040: a40b84f0 56a34a38 94943908 a48405c8 ....8J.V.9......
00010050: 53002a40 73eca48b 33c3ee07 0a072c9e @*.S...s...3.,..
00010060: 00c9222d a8d3e499 1892a800 a5603281 -"...........2`.
00010070: aac00fac f4281a88 a0980847 eb9a002f ......(.G.../...
00010080: 3069a381 986242b8 c80cc426 d06202bc ..i0.Bb.&.....b.
00010090: c401e8ea 96b08296 a8a180cc 926cc051 ............Q.l.
000100a0: 292011a3 2e811928 a0e08004 808386c4 .. )(...........
000100b0: 3ba2100c 82a23ea2 00246ac8 0a38260b ...;.>...j$..&8.
000100c0: 3b38803a 2a4a622a 726c5291 a0528276 :.8;bJ.Rlrv.R.
000100d0: 8a74d0ee a81c83b8 feaa216c b60aa848 ..t.....l!..H...
000100e0: c118060c 8084b633 583d9380 9003ab54 ....3.....=XT...
000100f0: 93808015 8ac9e66a 9a935c1b cfe74097 ....j.......@..
zynq-uboot> nand read 0x120000 0x800000 0x20000

NAND read: device 0 offset 0x800000, size 0x20000
NAND read from offset 800000 failed -74
0 bytes read: ERROR
zynq-uboot>

U-Boot 2015.07 (May 18 2017 - 22:22:09 +0800)

Model: Zynq Zed Development Board
DRAM: ECC disabled 256 MiB
NAND: 128 MiB
MMC: zynq_sdhci: 0
Invalid bus 0 (err=-1)
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq Zed Development Board
Net: Gem.e000b000
Hit 'd' to stop autoboot(eric): 0
zynq-uboot> setenv nandboot "echo Copying Linux from NAND flash to RAM... && nand info && run nandroot;nand read 0x100000 0x2220000 0x300000 && fpga loadb 0 0x100000 0x300000 && nand read ${kernel_load_address} 0x300000 ${kernel_size} && nand read ${devicetree_load_address} 0x800000 ${devicetree_size}"
zynq-uboot> run nandboot
Copying Linux from NAND flash to RAM...

Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
subpagesize 512 b
options 0x 0
bbt options 0x 20000

Error: "nandroot" not defined

NAND read: device 0 offset 0x2220000, size 0x300000
3145728 bytes read: OK
design filename = "top_ctrl;UserID=0XFFFFFFFF;Version=2016.4"
part number = "7z010clg400"
date = "2017/05/29"
time = "11:17:01"
bytes in bitstream = 2083740
zynq_align_dma_buffer: Align buffer at 100068 to 100000(swap 1)

NAND read: device 0 offset 0x300000, size 0x500000
5242880 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x20000
NAND read from offset 800000 failed -74
0 bytes read: ERROR
zynq-uboot> setenv bootargs 'console=ttyPS0,115200 root=/dev/mtdblock6 rootfstype=jffs2 noinitrd rw rootwait reboot=cold,hard emergency init=/bin/sh'
zynq-uboot> bootm ${kernel_load_address} - ${devicetree_load_address} init=/bin/sh

Booting kernel from Legacy Image at 02080000 ...

Image Name: Linux-4.6.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3820688 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK

Flattened Device Tree blob at 02000000

Booting using the fdt blob at 0x2000000
Loading Kernel Image ... OK
Loading Device Tree to 0f2fe000, end 0f3039ff ... OK

Starting kernel ...

U-Boot 2015.07 (May 18 2017 - 22:22:09 +0800)

Model: Zynq Zed Development Board
DRAM: ECC disabled 256 MiB
NAND: 128 MiB
MMC: zynq_sdhci: 0
Invalid bus 0 (err=-1)
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq Zed Development Board
Net: Gem.e000b000
Hit 'd' to stop autoboot(eric): 0
Copying Linux from NAND flash to RAM...

NAND read: device 0 offset 0x2220000, size 0x300000
3145728 bytes read: OK
design filename = "top_ctrl;UserID=0XFFFFFFFF;Version=2016.4"
part number = "7z010clg400"
date = "2017/05/29"
time = "11:17:01"
bytes in bitstream = 2083740
zynq_align_dma_buffer: Align buffer at 100068 to 100000(swap 1)

NAND read: device 0 offset 0x300000, size 0x500000
5242880 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x20000
NAND read from offset 800000 failed -74
0 bytes read: ERROR
zynq-uboot> ls mmc 0
system volume information/
16777216 mtd4ro.bin
8388608 mtd5ro.bin
67108864 mtd6ro.bin
20840448 mtd7ro.bin
2097152 mtd8ro.bin
3145728 mtd0ro.bin
5242880 mtd1ro.bin
131072 mtd2ro.bin
10485760 mtd3ro.bin

9 file(s), 1 dir(s)

zynq-uboot> nand erase.chip

NAND erase.chip: device 0 whole chip
Skipping bad block at 0x07f80000
Skipping bad block at 0x07fa0000
Skipping bad block at 0x07fc0000
Skipping bad block at 0x07fe0000

OK
zynq-uboot> nand scrub -y 0x0 0x8000000

NAND scrub: device 0 whole chip
Erasing at 0x7fe0000 -- 100% complete.
OK
zynq-uboot> nand bad

Device 0 bad blocks:
07f80000
07fa0000
07fc0000
07fe0000
zynq-uboot> nand info

Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
subpagesize 512 b
options 0x40000000
bbt options 0x 20000
zynq-uboot> fatload mmc 0 0x100000 mtd0ro.bin
reading mtd0ro.bin
3145728 bytes read in 273 ms (11 MiB/s)
zynq-uboot> nand write 0x100000 0x0 0x300000

NAND write: device 0 offset 0x0, size 0x300000
3145728 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd1ro.bin
reading mtd1ro.bin
5242880 bytes read in 449 ms (11.1 MiB/s)
zynq-uboot> nand write 0x100000 0x300000 0x500000

NAND write: device 0 offset 0x300000, size 0x500000
5242880 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd2ro.bin
reading mtd2ro.bin
131072 bytes read in 24 ms (5.2 MiB/s)
zynq-uboot> nand write 0x100000 0x800000 0x20000

NAND write: device 0 offset 0x800000, size 0x20000
131072 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd3ro.bin
reading mtd3ro.bin
10485760 bytes read in 886 ms (11.3 MiB/s)
zynq-uboot> nand write 0x100000 0x820000 0xa00000

NAND write: device 0 offset 0x820000, size 0xa00000
10485760 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd4ro.bin
reading mtd4ro.bin
16777216 bytes read in 1405 ms (11.4 MiB/s)
zynq-uboot> nand write 0x100000 0x1220000 0x1000000

NAND write: device 0 offset 0x1220000, size 0x1000000
16777216 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd5ro.bin
reading mtd5ro.bin
8388608 bytes read in 712 ms (11.2 MiB/s)
zynq-uboot> nand write 0x100000 0x2220000 0x800000

NAND write: device 0 offset 0x2220000, size 0x800000
8388608 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd6ro.bin
reading mtd6ro.bin
67108864 bytes read in 5590 ms (11.4 MiB/s)
zynq-uboot> nand write 0x100000 0x2a20000 0x4000000

NAND write: device 0 offset 0x2a20000, size 0x4000000
67108864 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd7ro.bin
reading mtd7ro.bin
20840448 bytes read in 1743 ms (11.4 MiB/s)
zynq-uboot> nand write 0x100000 0x6a20000 0x13e0000

NAND write: device 0 offset 0x6a20000, size 0x13e0000
20840448 bytes written: OK
zynq-uboot> fatload mmc 0 0x100000 mtd8ro.bin
reading mtd8ro.bin
2097152 bytes read in 190 ms (10.5 MiB/s)
zynq-uboot> nand write 0x100000 0x7e00000 0x200000

NAND write: device 0 offset 0x7e00000, size 0x200000
Attempt to write outside the flash area
0 bytes written: ERROR
zynq-uboot> nand write 0x100000 0x7e00000 0x180000

NAND write: device 0 offset 0x7e00000, size 0x180000
1572864 bytes written: OK
zynq-uboot>

1.0.0.47 (Dec 07 2017 - 00:36:15 +0800)

Model: Zynq Zed Development Board
DRAM: ECC disabled 256 MiB
NAND: 128 MiB
MMC: zynq_sdhci: 0
Invalid bus 0 (err=-1)
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq Zed Development Board
Net: Gem.e000b000
Hit 'd' to stop autoboot(eric): 0
Copying Linux from NAND flash to RAM...

Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
subpagesize 512 b
options 0x 0
bbt options 0x 20000

NAND read: device 0 offset 0x2220000, size 0x300000
3145728 bytes read: OK
fpga_loadbitstream: Design name id not recognized in bitstream

NAND read: device 0 offset 0x300000, size 0x500000
5242880 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x20000
131072 bytes read: OK

Booting kernel from Legacy Image at 02080000 ...

Image Name: Linux-4.6.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3820688 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK

Flattened Device Tree blob at 02000000

Booting using the fdt blob at 0x2000000
Loading Kernel Image ... OK
Loading Device Tree to 0f2fe000, end 0f303b90 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.6.0-xilinx (root@alvin) (gcc version 5.2.0 (GCC) ) #5 SMP PREEMPT Mon May 8 14:36:49 CST 2017
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: xlnx,zynq-7000
cma: Reserved 16 MiB at 0x0e000000
Memory policy: Data cache writealloc
percpu: Embedded 12 pages/cpu @cfdce000 s19776 r8192 d21184 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyPS0,115200 root=/dev/mtdblock6 rootfstype=jffs2 noinitrd rw rootwait
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 234624K/262144K available (5286K kernel code, 231K rwdata, 1848K rodata, 1024K init, 226K bss, 11136K reserved, 16384K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc07f7850 (8127 kB)
.init : 0xc0800000 - 0xc0900000 (1024 kB)
.data : 0xc0900000 - 0xc0939e60 ( 232 kB)
.bss : 0xc0939e60 - 0xc0972764 ( 227 kB)
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
efuse mapped to d0800000
slcr mapped to d0802000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at d0802100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce076117e, max_idle_ns: 440795215954 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at d080a000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333330)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100058
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xd0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
PTP clock support registered
EDAC MC: Ver: 3.0.0
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
workingset: timestamp_bits=28 max_order=16 bucket_order=0
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
42c00000.serial: ttyUL2 at MMIO 0x42c00000 (irq = 166, base_baud = 0) is a uartlite
e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 144, base_baud = 3124996) is a xuartps
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 145, base_baud = 3124996) is a xuartps
console [ttyPS0] enabled
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to d0872000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
CAN device driver interface
gpiod_set_value: invalid GPIO
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 148 (00:0a:35:00:01:22)
ICPlus IP101A/G e000b000.etherne:00: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.4
rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-11 addr=0e, data=03
rtc-pcf8563 0-0051: pcf8563_probe: write error
rtc-pcf8563: probe of 0-0051 failed with error -5
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 141
EDAC MC: ECC not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using DMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
nand: Unknown W29N01HV
nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
9 ofpart partitions found on MTD device pl35x-nand
Creating 9 MTD partitions on "pl35x-nand":
0x000000000000-0x000000300000 : "nand-fsbl-uboot"
0x000000300000-0x000000800000 : "nand-linux"
0x000000800000-0x000000820000 : "nand-device-tree"
0x000000820000-0x000001220000 : "nand-rootfs"
0x000001220000-0x000002220000 : "nand-jffs2"
0x000002220000-0x000002a20000 : "nand-bitstream"
0x000002a20000-0x000006a20000 : "nand-allrootfs"
0x000006a20000-0x000007e00000 : "nand-release"
0x000007e00000-0x000008000000 : "nand-reserve"
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Registering SWP/SWPB emulation handler
hctosys: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SS16G 14.8 GiB
mmcblk0: p1
VFS: Mounted root (jffs2 filesystem) on device 31:6.
devtmpfs: mounted
Freeing unused kernel memory: 1024K (c0800000 - c0900000)
INIT: version 2.88 booting
jffs2: notice: (699) check_node_data: wrong data CRC in data node at 0x019cf13c: read 0x69f267f4, calculated 0x223a0f1d.
random: dd urandom read with 2 bits of entropy available
Sat Jan 19 21:08:14 UTC 2019
Starting internet superserver: inetd.
INIT: Entering runlevel: 5
Configuring network interfaces... IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
Sending discover...
Sending discover...

**** I powered off board even though boot hadn't errored ('cause I am impatient and I wanted to test password reset)

1.0.0.47 (Dec 07 2017 - 00:36:15 +0800)

Model: Zynq Zed Development Board
DRAM: ECC disabled 256 MiB
NAND: 128 MiB
MMC: zynq_sdhci: 0
Invalid bus 0 (err=-1)
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq Zed Development Board
Net: Gem.e000b000
Hit 'd' to stop autoboot(eric): 0
zynq-uboot> setenv nandboot "echo Copying Linux from NAND flash to RAM... && nand info && run nandroot;nand read 0x100000 0x2220000 0x300000 && fpga loadb 0 0x100000 0x300000 && nand read ${kernel_load_address} 0x300000 ${kernel_size} && nand read ${devicetree_load_address} 0x800000 ${devicetree_size}"
zynq-uboot> run nandboot
Copying Linux from NAND flash to RAM...

Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
subpagesize 512 b
options 0x 0
bbt options 0x 20000

NAND read: device 0 offset 0x2220000, size 0x300000
3145728 bytes read: OK
fpga_loadbitstream: Design name id not recognized in bitstream

NAND read: device 0 offset 0x300000, size 0x500000
5242880 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x20000
131072 bytes read: OK
zynq-uboot> setenv bootargs 'console=ttyPS0,115200 root=/dev/mtdblock6 rootfstype=jffs2 noinitrd rw rootwait reboot=cold,hard emergency init=/bin/sh'
zynq-uboot> bootm ${kernel_load_address} - ${devicetree_load_address} init=/bin/sh

Booting kernel from Legacy Image at 02080000 ...

Image Name: Linux-4.6.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3820688 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK

Flattened Device Tree blob at 02000000

Booting using the fdt blob at 0x2000000
Loading Kernel Image ... OK
Loading Device Tree to 0f2fe000, end 0f303b90 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.6.0-xilinx (root@alvin) (gcc version 5.2.0 (GCC) ) #5 SMP PREEMPT Mon May 8 14:36:49 CST 2017
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: xlnx,zynq-7000
cma: Reserved 16 MiB at 0x0e000000
Memory policy: Data cache writealloc
percpu: Embedded 12 pages/cpu @cfdce000 s19776 r8192 d21184 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyPS0,115200 root=/dev/mtdblock6 rootfstype=jffs2 noinitrd rw rootwait reboot=cold,hard emergency init=/bin/sh
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 234624K/262144K available (5286K kernel code, 231K rwdata, 1848K rodata, 1024K init, 226K bss, 11136K reserved, 16384K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc07f7850 (8127 kB)
.init : 0xc0800000 - 0xc0900000 (1024 kB)
.data : 0xc0900000 - 0xc0939e60 ( 232 kB)
.bss : 0xc0939e60 - 0xc0972764 ( 227 kB)
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
efuse mapped to d0800000
slcr mapped to d0802000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at d0802100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce076117e, max_idle_ns: 440795215954 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at d080a000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333330)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100058
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xd0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
PTP clock support registered
EDAC MC: Ver: 3.0.0
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
workingset: timestamp_bits=28 max_order=16 bucket_order=0
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
42c00000.serial: ttyUL2 at MMIO 0x42c00000 (irq = 166, base_baud = 0) is a uartlite
e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 144, base_baud = 3124996) is a xuartps
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 145, base_baud = 3124996) is a xuartps
console [ttyPS0] enabled
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to d0872000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
CAN device driver interface
gpiod_set_value: invalid GPIO
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 148 (00:0a:35:00:01:22)
ICPlus IP101A/G e000b000.etherne:00: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.4
rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-11 addr=0e, data=03
rtc-pcf8563 0-0051: pcf8563_probe: write error
rtc-pcf8563: probe of 0-0051 failed with error -5
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 141
EDAC MC: ECC not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using DMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
nand: Unknown W29N01HV
nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
9 ofpart partitions found on MTD device pl35x-nand
Creating 9 MTD partitions on "pl35x-nand":
0x000000000000-0x000000300000 : "nand-fsbl-uboot"
0x000000300000-0x000000800000 : "nand-linux"
0x000000800000-0x000000820000 : "nand-device-tree"
0x000000820000-0x000001220000 : "nand-rootfs"
0x000001220000-0x000002220000 : "nand-jffs2"
0x000002220000-0x000002a20000 : "nand-bitstream"
0x000002a20000-0x000006a20000 : "nand-allrootfs"
0x000006a20000-0x000007e00000 : "nand-release"
0x000007e00000-0x000008000000 : "nand-reserve"
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Registering SWP/SWPB emulation handler
hctosys: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SS16G 14.8 GiB
mmcblk0: p1
VFS: Mounted root (jffs2 filesystem) on device 31:6.
devtmpfs: mounted
Freeing unused kernel memory: 1024K (c0800000 - c0900000)
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-4.3# jffs2: notice: (699) check_node_data: wrong data CRC in data node at 0x019cf13c: read 0x69f267f4, calculated 0x223a0f1d.
jffs2: notice: (699) check_node_data: wrong data CRC in data node at 0x02539bb8: read 0xc87e348e, calculated 0x67f3ed0a.
jffs2: notice: (699) check_node_data: wrong data CRC in data node at 0x019d2c54: read 0x59459af6, calculated 0xb967dedf.

sh-4.3#
sh-4.3#
sh-4.3#
sh-4.3# ls
bin dev home lib mnt proc sbin tmp var
boot etc init media opt run sys usr
sh-4.3# passwd
Changing password for root
New password:
Retype password:
Password for root changed by root
sh-4.3# mv /etc/rcS.d/S95cgminer.sh /etc/rcS.d/K95cgminer.sh
mv: can't rename '/etc/rcS.d/S95cgminer.sh': No such file or directory
sh-4.3# reboot
WARNING: could not determine runlevel - doing soft reboot
(it's better to use shutdown instead of reboot from the command line)
shutdown: /dev/initctl: No such file or directory
init: /dev/initctl: No such file or directory
sh-4.3# shutdown
Usage: shutdown [-akrhPHfFnc] [-t sec] time [warning message]
-a: use /etc/shutdown.allow
-k: don't really shutdown, only warn.
-r: reboot after shutdown.
-h: halt after shutdown.
-P: halt action is to turn off power.
-H: halt action is to just halt.
-f: do a 'fast' reboot (skip fsck).
-F: Force fsck on reboot.
-n: do not go through "init" but go down real fast.
-c: cancel a running shutdown.
-t secs: delay between warning and kill signal.
** the "time" argument is mandatory! (try "now") **
sh-4.3# shutdown now
shutdown: /dev/initctl: No such file or directory
init: /dev/initctl: No such file or directory
sh-4.3# shutdown -r now
shutdown: /dev/initctl: No such file or directory
init: /dev/initctl: No such file or directory
1.0.0.47 (Dec 07 2017 - 00:36:15 +0800)

Model: Zynq Zed Development Board
DRAM: ECC disabled 256 MiB
NAND: 128 MiB
MMC: zynq_sdhci: 0
Invalid bus 0 (err=-1)
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq Zed Development Board
Net: Gem.e000b000
Hit 'd' to stop autoboot(eric): 0
Copying Linux from NAND flash to RAM...

Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
subpagesize 512 b
options 0x 0
bbt options 0x 20000

NAND read: device 0 offset 0x2220000, size 0x300000
3145728 bytes read: OK
fpga_loadbitstream: Design name id not recognized in bitstream

NAND read: device 0 offset 0x300000, size 0x500000
5242880 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x20000
131072 bytes read: OK

Booting kernel from Legacy Image at 02080000 ...

Image Name: Linux-4.6.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3820688 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK

Flattened Device Tree blob at 02000000

Booting using the fdt blob at 0x2000000
Loading Kernel Image ... OK
Loading Device Tree to 0f2fe000, end 0f303b90 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.6.0-xilinx (root@alvin) (gcc version 5.2.0 (GCC) ) #5 SMP PREEMPT Mon May 8 14:36:49 CST 2017
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: xlnx,zynq-7000
cma: Reserved 16 MiB at 0x0e000000
Memory policy: Data cache writealloc
percpu: Embedded 12 pages/cpu @cfdce000 s19776 r8192 d21184 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyPS0,115200 root=/dev/mtdblock6 rootfstype=jffs2 noinitrd rw rootwait
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 234624K/262144K available (5286K kernel code, 231K rwdata, 1848K rodata, 1024K init, 226K bss, 11136K reserved, 16384K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc07f7850 (8127 kB)
.init : 0xc0800000 - 0xc0900000 (1024 kB)
.data : 0xc0900000 - 0xc0939e60 ( 232 kB)
.bss : 0xc0939e60 - 0xc0972764 ( 227 kB)
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
efuse mapped to d0800000
slcr mapped to d0802000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at d0802100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce076117e, max_idle_ns: 440795215954 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at d080a000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333330)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100058
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xd0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
PTP clock support registered
EDAC MC: Ver: 3.0.0
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
workingset: timestamp_bits=28 max_order=16 bucket_order=0
jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
42c00000.serial: ttyUL2 at MMIO 0x42c00000 (irq = 166, base_baud = 0) is a uartlite
e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 144, base_baud = 3124996) is a xuartps
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 145, base_baud = 3124996) is a xuartps
console [ttyPS0] enabled
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to d0872000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
CAN device driver interface
gpiod_set_value: invalid GPIO
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 148 (00:0a:35:00:01:22)
ICPlus IP101A/G e000b000.etherne:00: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.4
rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-11 addr=0e, data=03
rtc-pcf8563 0-0051: pcf8563_probe: write error
rtc-pcf8563: probe of 0-0051 failed with error -5
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 141
EDAC MC: ECC not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using DMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
nand: Unknown W29N01HV
nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
9 ofpart partitions found on MTD device pl35x-nand
Creating 9 MTD partitions on "pl35x-nand":
0x000000000000-0x000000300000 : "nand-fsbl-uboot"
0x000000300000-0x000000800000 : "nand-linux"
0x000000800000-0x000000820000 : "nand-device-tree"
0x000000820000-0x000001220000 : "nand-rootfs"
0x000001220000-0x000002220000 : "nand-jffs2"
0x000002220000-0x000002a20000 : "nand-bitstream"
0x000002a20000-0x000006a20000 : "nand-allrootfs"
0x000006a20000-0x000007e00000 : "nand-release"
0x000007e00000-0x000008000000 : "nand-reserve"
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Registering SWP/SWPB emulation handler
hctosys: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SS16G 14.8 GiB
mmcblk0: p1
VFS: Mounted root (jffs2 filesystem) on device 31:6.
devtmpfs: mounted
Freeing unused kernel memory: 1024K (c0800000 - c0900000)
INIT: version 2.88 booting
jffs2: notice: (699) check_node_data: wrong data CRC in data node at 0x019cf13c: read 0x69f267f4, calculated 0x223a0f1d.
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
random: dd urandom read with 2 bits of entropy available
Sat Jan 19 21:08:14 UTC 2019
Starting internet superserver: inetd.
INIT: Entering runlevel: 5
Configuring network interfaces... IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done

PetaLinux 2016.4 zedboard-zynq7 /dev/ttyPS0

zedboard-zynq7 login: jffs2: notice: (742) check_node_data: wrong data CRC in data node at 0x02539bb8: read 0xc87e348e, calculated 0x67f3ed0a.
root
Password:
root@zedboard-zynq7:# ls
dwang_btc_miner
root@zedboard-zynq7:
# jffs2: notice: (742) check_node_data: wrong data CRC in data node at 0x019d2c54: read 0x59459af6, calculated 0xb967dedf.
ls
dwang_btc_miner

from ebaz4205.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.