Skip to content

Instantly share code, notes, and snippets.

@dlintw
Created February 8, 2014 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlintw/8874991 to your computer and use it in GitHub Desktop.
Save dlintw/8874991 to your computer and use it in GitHub Desktop.
original console log of nextvod
PDK7105> printenv
bootdelay=0
baudrate=115200
ethaddr=DE:EA:FF:FF:01:01
board=pdk7105
monitor_base=0xA4000000
monitor_len=0x00040000
monitor_sec=1:0-1
load_addr=0x80000000
ipaddr=192.9.150.61
serverip=192.9.150.67
bootdelay=0
update_uboot=usb start;fatload usb 0 80000000 u-boot.bin;update_spi_uboot
unprot=protect off $monitor_sec
update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec
ethaddr=12:34:56:78:06:BD
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyAS0,115200 root=8:2 rootfstype=ext3 rw rootflags=data=journal nwhwconf=device:eth0,hwaddr:10:08:E2:12:06:BD phyaddr:0,watchdog:5000 mem=120M bigphysarea=2048
bootcmd=ext2load usb 0:2 80000000 vmlinux.ub; bootm 80000000
Environment size: 715/65532 bytes
@dlintw
Copy link
Author

dlintw commented Feb 8, 2014

DRAM:  256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
In:    serial
Out:   serial
Err:   serial
UBOOTWPDA version: 16204030
swUpdate.c:8738 'Purple' LED, trying internal USB at first
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
load_uboot_env.c:62 load_uboot_env(partition=1)
load_uboot_env.c:69 will try mount as ext2)
Failed to mount ext2 filesystem...
load_uboot_env.c:71 will try load as fat
reading uboot.sh

780 bytes read
load_uboot_env.c:29 = uboot.sh content= len=780
# UBOOTWPDA config http://www.twpda.com/2013/08/uboot-code.html

# boot settings for internal USB sda1:kernel+uboot.sh sda2:ext4
#setenv bootargs 'console=ttyAS0,115200 rootdelay=0 root=/dev/sda2 rootfstype=ext4 rw rootflags=data=journal nwhwconf=device:eth0,hwaddr:10:08:E2:12:06:BD phyaddr:0,watchdog:5000 mem=256M bigphysarea=2048'
#setenv bootcmd 'usbcfg 0; usb start; usb info; usb part; fatload usb 0:1 80000000 vmlinux.ub; bootm 80000000'
setenv bootargs 'console=ttyAS0,115200 root=8:2  rootfstype=ext3 rw rootflags=data=journal nwhwconf=device:eth0,hwaddr:10:08:E2:12:06:BD phyaddr:0,watchdog:5000 mem=120M bigphysarea=2048'
setenv bootcmd 'ext2load usb 0:2 80000000 vmlinux.ub; bootm 80000000'
#setenv bootcmd 'ext2load usb 0:2 80000000 boot/vmlinux.ub; bootm 80000000'

= end of uboot.sh =

Hit any key to stop autoboot:  0

2560911 bytes read
## Booting image at 80000000 ...
Bad Magic Number
PDK7105>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment