Quantcast
Channel: Linux Device Hacking
Viewing all 47104 articles
Browse latest View live

Re: Changes in SD Card access in U-Boot 2017.07-tld-1?

$
0
0
Hi Bodhi

Quote
bodhi
U-Boot 2017.07-tld-1 use an "improved" version of the MMC driver from mainline.

I hope this is not an unresonable request... :) Is it possible to have an option in future version of uBoot to switch back to the previous version of MMC driver or slow down the access?

I notice whenever it fails, the access speed is ridiculous high


loading uImage ...
4115496 bytes read in 43 ms (91.3 MiB/s)
loading uInitrd ...
6284094 bytes read in 106 ms (56.5 MiB/s)
loading DTB /boot/dts/kirkwood-pogoplug_v4.dtb ...
9962 bytes read in 27 ms (359.4 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.17.2-kirkwood-tld-1
   Created:      2018-08-04  20:46:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4115432 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!

loading uImage ...
4115496 bytes read in 86 ms (45.6 MiB/s)
loading uInitrd ...
6284094 bytes read in 60 ms (99.9 MiB/s)
loading DTB /boot/dts/kirkwood-pogoplug_v4.dtb ...
9962 bytes read in 27 ms (359.4 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.17.2-kirkwood-tld-1
   Created:      2018-08-04  20:46:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4115432 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!

When it works, speed is kind of back to normal

loading uImage ...
4115496 bytes read in 105 ms (37.4 MiB/s)
loading uInitrd ...
6284094 bytes read in 190 ms (31.5 MiB/s)
loading DTB /boot/dts/kirkwood-pogoplug_v4.dtb ...
9962 bytes read in 27 ms (359.4 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.17.2-kirkwood-tld-1
   Created:      2018-08-04  20:46:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4115432 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.17.2-kirkwood-tld-1
   Created:      2018-08-04  20:46:33 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6284030 Bytes = 6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000


Starting kernel ...

BTW, the screenshot above are from the "same" boot (i.e. w/o power recycle), I just keep entering "boot" until it works...

Re: rtl8192eu driver on GoFLEX Net (4.17.2)

$
0
0
How would I get an older Kernel onto the GoFlex/Debian?
Isn't there a better alternative for building?
What are you building on?

I watched some tutorial about Linaro toolchain, but they where all Android-Centric and depend on sources provided by the smartphone's vendor. How would I replace that part for a device like the GoFlex?

Thank you!

Re: Changes in SD Card access in U-Boot 2017.07-tld-1?

$
0
0
Derek,

> I hope this is not an unresonable request... :)
> Is it possible to have an option in future version
> of uBoot to switch back to the previous version of
> MMC driver

It is indeed unreasonable :) usually I try to use mainline version if possible, since it is widely used and tested. My testing on a Sandisk SD card with Pogo V4 and Sheevaplug was without problem. Rayknight also tested this on a Sheevaplug (not sure which SD brand). So I think your problemmight be with the Kingston SD brand.

Have you tried to use a Sandisk SD card?

> or slow down the access?

This hopefully can be worked around by slowing down the booting process, but not in the driver itself. So you could try to insert sleep period after the card has been accessed in u-boot to let it settles down before reading the next file. And set the devices to mmc only for booting.

setenv devices mmc

Re: Replace ArchLinuxARM with Debian on GoFlexHome

$
0
0
spindles7,

Ah. You did everything by the book and still it did not work.

> a) it works OK if booting from a USB device
> b) it doesn't work if booting from the drive in
> the SATA interface.

I will need to test this IDE uEnv.txt myself and let you know (in about 2-3 weeks when I get back to my development rig). Please remind me!

In the mean time, if you are going to boot with systemd then just set it directly in the bootargs (instead of using uEnv.txt).

fw_setenv custom_params 'init=/bin/systemd'
And reverse it when you want to boot sysvinit
fw_setenv custom_params



> I have a supplementary question:
> I have noticed that if I disconnect the
> netconsole, the GFH will not boot, or at least it
> will wait until the netconsole is connected. Is
> that expected behaviour?

The u-boot netconsole driver has some flaw in that you don't want to disconnect it by bringing down the server while it is connecting. It will keep retrying. And it tends to have false negative so I set it up to ping 5 times (to make sure the negative results are real).

Quote

10. Set up netconsole. It's important to set up neconsole if you don't already have serial console connected. If you have serial console, don't set up netconsole at this moment, because it will interfere with serial console.

If you've flashed the default environments in step 8 then activate netconsole with the following envs:

Adjust 192.168.0.xxx and 192.168.0.yyy below to the real numbers in your network configuration. 192.168.0.xxx is this plug IP address, and 192.168.0.yyy is the IP address of the netconsole server where it will monitor the output from the this plug (adjust them to the real values in your own local network settings).

fw_setenv preboot_nc 'setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi'
fw_setenv preboot 'run preboot_nc'
fw_setenv ipaddr '192.168.0.xxx'
fw_setenv serverip '192.168.0.yyy'

But if netconsole server is not running, your box u-boot should eventually time out and boot after a long period, not stuck.

Unfortunately, I did not have time to sit down and fix this code, yet (It is not difficult).

Re: How to unbrick GoFlex Home?

$
0
0
Here is a better tools binaries tarball to download:

https://forum.doozan.com/read.php?3,27280

And before backing up the mtds you need to list them in stock OS (not Arch system):

cat /proc/mtd


cd /tmp 
mkdir usb 
mount /dev/sda1 /tmp/usb 
cd /tmp/usb


And then use this format:

nanddump --noecc --omitoob -f mtd0 /dev/mtd0
nanddump --noecc --omitoob -f mtd1 /dev/mtd1

...
so on

2. And then write them to the Arch-running box

And before flashing the mtds you need to list them in Arch OS

cat /proc/mtd
If they match with stock OS, then go ahead. If not, you will need to adjust the mtds to the stock definition, reboot. And verify

Once the mtds are the same in stock OS and Arch. Flash the backup to the Arch box:
flash_erase /dev/mtd0
nandwrite -on /dev/mtd0 mtd0

flash_erase /dev/mtd1
nandwrite -on /dev/mtd1 mtd1
.....

so on

Re: rtl8192eu driver on GoFLEX Net (4.17.2)

Re: How to unbrick GoFlex Home?

$
0
0
bodhi Wrote:
-------------------------------------------------------
> Here is a better tools binaries tarball to
> download:
>
> https://forum.doozan.com/read.php?3,27280
>
> And before backing up the mtds you need to list
> them in stock OS (not Arch system):
>
>
> cat /proc/mtd
>

bash-3.2# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00600000 00020000 "uImage"
mtd2: 0f900000 00020000 "root"

Is this OK?

Re: How to unbrick GoFlex Home?

$
0
0
balanga Wrote:
-------------------------------------------------------
> bodhi Wrote:
> -------------------------------------------------------
> > Here is a better tools binaries tarball to
> > download:
> >
> > https://forum.doozan.com/read.php?3,27280
> >
> > And before backing up the mtds you need to list
> > them in stock OS (not Arch system):
> >
> >
> > cat /proc/mtd
> >
>
> bash-3.2# cat /proc/mtd
> dev: size erasesize name
> mtd0: 00100000 00020000 "u-boot"
> mtd1: 00600000 00020000 "uImage"
> mtd2: 0f900000 00020000 "root"
>
> Is this OK?

Yes it does look ok. You can nanddump all 3 mtds.

Re: Replace ArchLinuxARM with Debian on GoFlexHome

LoRa Being Worked On For The Linux Kernel - Allows Long-Range, Low-Power Wireless

Re: LoRa Being Worked On For The Linux Kernel - Allows Long-Range, Low-Power Wireless

Re: How to unbrick GoFlex Home?

$
0
0
bodhi Wrote:
-------------------------------------------------------
>
> Yes it does look ok. You can nanddump all 3 mtds.

How does this look?

bash-3.2# ls -al mtd
total 262424
drwxr-xr-x 2 root root 4096 Aug 11 12:15 .
drwxr-xr-x 5 root root 4096 Aug 11 12:04 ..
-rw-r--r-- 1 root root 1048576 Aug 11 12:15 mtd0
-rw-r--r-- 1 root root 6291456 Aug 11 12:15 mtd1
-rw-r--r-- 1 root root 261095424 Aug 11 12:17 mtd2

Re: How to unbrick GoFlex Home?

$
0
0
bodhi Wrote:
-------------------------------------------------------
> 2. And then write them to the Arch-running box
>
> And before flashing the mtds you need to list them
> in Arch OS
>
>
> cat /proc/mtd
>
> If they match with stock OS, then go ahead. If
> not, you will need to adjust the mtds to the stock
> definition, reboot. And verify


On Arch box:

[root@alarm ~]# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 0ff00000 00020000 "rootfs"

Re: How to unbrick GoFlex Home?

$
0
0
> On Arch box:
>
> [root@alarm ~]# cat /proc/mtd
> dev: size erasesize name
> mtd0: 00100000 00020000 "u-boot"
> mtd1: 0ff00000 00020000 "rootfs"

It does not match. We need to change mtdparts back to stock definition.

So please get the envs listing at the prompt [root@alarm ~]

fw_printenv

Re: How to unbrick GoFlex Home?

$
0
0
bodhi Wrote:
-------------------------------------------------------
>
> fw_printenv
>

baudrate=115200
bootcmd=ide reset; usb start; setenv letter 9;for type in ide usb; do for disk in 0; do if ${type} part ${disk};then setexpr letter $letter + 1;run load;fi;done;done;
bootdelay=3
bootm=echo Booting from ${disk} ...; run setargs; bootm ${loadaddr};
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
ethact=egiga0
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-goflexnet.dtb
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
load=echo Attempting to boot from ${type} ${disk}:1...;if run loadbootenv; then run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt;run bootz;fi;echo Running default loaduimage ...;if run loaduimage; then run bootm;fi;
loadaddr=0x810000
loadbootenv=load ${type} ${disk}:1 ${loadaddr} /boot/uEnv.txt
loadfdt=load ${type} ${disk}:1 ${fdt_addr} ${fdt_file}
loaduimage=load ${type} ${disk}:1 ${loadaddr} ${uimage}
loadzimage=load ${type} ${disk}:1 ${loadaddr} ${zimage}
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
setargs=setenv bootargs console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait ${mtdparts}
uimage=/boot/uImage
zimage=/boot/zImage
ethaddr=00:10:75:2C:A9:58

Just out of interest will the MAC address for the Arch box remain as it is?

Re: How to unbrick GoFlex Home?

$
0
0
balanga,

> Just out of interest will the MAC address for the
> Arch box remain as it is?

It should be the MAC address of the stock box. So save this ethaddr=00:10:75:2C:A9:58. You need to change the ethaddr env on this box after flashing the mtds.

One more info to get. Log in to the stock GFH, or if you have serial console connected, get the envs listing of this stock GFH.

- in serial console
printenv

- in stock OS
fw_printenv

Re: How to unbrick GoFlex Home?

$
0
0
bodhi Wrote:
-------------------------------------------------------
> - in stock OS
>
> fw_printenv
>

baudrate=115200
loads_echo=0
ipaddr=169.254.254.253
serverip=169.254.254.254
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
usb0Mode=host
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
rtc_mode=active
vm_ver_smt=1.1.3
pcba_sn=JA8P05390
console=console=ttyS0,115200
rtc_tz=PST
ntp_default=pool.ntp.org
smt_tag=10:08:28:06:07:50:25
ethaddr=00:10:75:28:CC:00
explrpk=PGBW-DQHB-MXJU-KKDK
explrsn=NA1Y6EYJ
asm1_tag=10:08:28:06:09:49:06
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=no
pcieTune=no
filesize=33AA2E
bootargs=console=ttyS0,115200 root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console2=console=ttyS0,115200
bootcmd=nand read.e 0x800000 0x100000 0x600000; setenv bootargs $(console2) $(bootargs_root); bootm 0x800000

Re: Dell Wyse T10 / T50

$
0
0
bodhi Wrote:
-------------------------------------------------------
> Koen,
>
> > One thing which shows that the ethernet is not
> > configured properly in the dts file yet is that
> it
> > now shows up as 100Mb/s while it used to be
> > 1000Mb/s
>
> Does this box really have 1Gbs?
>
> > This reverse engineering is quite addictive but
> it
> > will have to wait until I'm back home towards
> the
> > end of next week. Any tips on figuring out dts
> > files from scratch are appreciated.
> >
>
> I already did create the initial DTS:
> https://forum.doozan.com/read.php?2,63499,64114#msg-64114


Hi bodhi,

according to this document it should have 1Gbs. http://www.netsolutionworks.com/datasheets/Dell-Wyse-T-class-IA.pdf. My last comment isn't meant as a complaint, I wouldn't have got this far without your help. Just hoping that someone reading the forum may have some clever ideas how to continue from here on.

I've appended your latest dtb file and rebooted the device. The dmesg output is attached below.

root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
[    0.000000] CPU: ARMv7 Processor [560f5815] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Dell Wyse T50
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0d9d700, node_mem_map e6ff8000
[    0.000000]   Normal zone: 1264 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 161792 pages, LIFO batch:31
[    0.000000]   HighMem zone: 100352 pages, LIFO batch:31
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 17 pages/cpu @e6fd9000 s40460 r8192 d20980 u69632
[    0.000000] pcpu-alloc: s40460 r8192 d20980 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260880
[    0.000000] Kernel command line: rootdelay=5 root=/dev/sdb1 pm_disable usb0Mode=host usb1Mode=host video=dovefb:lcd0:1024x600-16@60-edid,lcd1:1024x768-16@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=1 clcd.lcd0_clk=3 clcd.lcd1_clk=1 vmalloc=384M
[    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: 1017980K/1048576K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 30596K reserved, 0K cma-reserved, 401408K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe8000000 - 0xff800000   ( 376 MB)
                   lowmem  : 0xc0000000 - 0xe7800000   ( 632 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0900000   (9184 kB)
                     .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
                     .data : 0xc0d00000 - 0xc0db2308   ( 713 kB)
                      .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000007] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.000039] Switching to timer-based delay loop, resolution 6ns
[    0.000578] Console: colour dummy device 80x30
[    0.001319] console [tty0] enabled
[    0.001361] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.001424] pid_max: default: 32768 minimum: 301
[    0.001613] Security Framework initialized
[    0.001727] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001771] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002568] CPU: Testing write buffer coherency: ok
[    0.002928] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.040181] Setting up static identity map for 0x100000 - 0x100060
[    0.120087] smp: Bringing up secondary CPUs ...
[    0.120139] smp: Brought up 1 node, 1 CPU
[    0.120175] SMP: Total of 1 processors activated (333.33 BogoMIPS).
[    0.120208] CPU: All CPU(s) started in SVC mode.
[    0.121063] devtmpfs: initialized
[    0.130505] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 5
[    0.131079] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.131160] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.131448] prandom: seed boundary self test passed
[    0.134509] prandom: 100 self tests passed
[    0.134541] pinctrl core: initialized pinctrl subsystem
[    0.135637] NET: Registered protocol family 16
[    0.136602] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.141184] cpuidle: using governor ladder
[    0.141283] cpuidle: using governor menu
[    0.141708] Dove 88AP510 SoC
[    0.141754] Tauros2: Disabling L2 prefetch.
[    0.141785] Tauros2: Disabling burst8 line fill.
[    0.141815] Tauros2: Enabling L2 cache.
[    0.141843] Tauros2: L2 cache support initialised in ARMv7 mode.
[    0.142234] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.240615] vgaarb: loaded
[    0.240953] SCSI subsystem initialized
[    0.250156] libata version 3.00 loaded.
[    0.250396] usbcore: registered new interface driver usbfs
[    0.250497] usbcore: registered new interface driver hub
[    0.250576] usbcore: registered new device driver usb
[    0.250800] media: Linux media interface: v0.10
[    0.250871] Linux video capture interface: v2.00
[    0.260663] clocksource: Switched to clocksource orion_clocksource
[    0.335301] VFS: Disk quotas dquot_6.6.0
[    0.335421] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.353978] NET: Registered protocol family 2
[    0.355082] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.355184] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.355294] TCP: Hash tables configured (established 8192 bind 8192)
[    0.355413] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.355469] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.355651] NET: Registered protocol family 1
[    0.376299] RPC: Registered named UNIX socket transport module.
[    0.376344] RPC: Registered udp transport module.
[    0.376373] RPC: Registered tcp transport module.
[    0.376403] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.376440] PCI: CLS 0 bytes, default 64
[    0.376624] Unpacking initramfs...
[    0.855591] Freeing initrd memory: 8072K
[    0.856064] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.857774] audit: initializing netlink subsys (disabled)
[    0.858956] Initialise system trusted keyrings
[    0.859027] Key type blacklist registered
[    0.859132] audit: type=2000 audit(0.857:1): state=initialized audit_enabled=0 res=1
[    0.859369] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.859509] zbud: loaded
[    0.880902] NFS: Registering the id_resolver key type
[    0.880953] Key type id_resolver registered
[    0.880982] Key type id_legacy registered
[    0.881019] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.881054] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.881288] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.881801] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.882054] orangefs_init: module version upstream loaded
[    0.887350] Key type asymmetric registered
[    0.887390] Asymmetric key parser 'x509' registered
[    0.887475] bounce: pool size: 64 pages
[    0.887548] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.887599] io scheduler noop registered
[    0.887628] io scheduler deadline registered
[    0.887713] io scheduler cfq registered (default)
[    0.888444] dove-pinctrl f10d0200.pin-ctrl: falling back to hardcoded PMU resource
[    0.888617] dove-pinctrl f10d0200.pin-ctrl: [Firmware Bug]: Missing pinctrl regs in DTB. Please update your firmware.
[    0.889347] dove-pinctrl f10d0200.pin-ctrl: registered pinctrl driver
[    0.892982] mvebu-pcie mbus:pcie: PCI host bridge to bus 0000:00
[    0.893035] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.893073] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.893113] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.893148] pci_bus 0000:00: scanning bus
[    0.893181] pci 0000:00:01.0: [11ab:0510] type 01 class 0x060400
[    0.893226] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    0.894626] pci 0000:00:02.0: [11ab:0510] type 01 class 0x060400
[    0.894662] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    0.895258] pci_bus 0000:00: fixups for bus
[    0.895274] PCI: bus0: Fast back to back transfers disabled
[    0.895322] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    0.895331] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.895389] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    0.895397] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.895454] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    0.895662] pci_bus 0000:01: scanning bus
[    0.895697] pci 0000:01:00.0: [1814:3090] type 00 class 0x028000
[    0.895728] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.895789] pci 0000:01:00.0: calling pci_fixup_ide_bases+0x0/0x3c
[    0.920889] pci_bus 0000:01: fixups for bus
[    0.920902] PCI: bus1: Fast back to back transfers disabled
[    0.920945] pci_bus 0000:01: bus scan returning with max=01
[    0.920957] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.920972] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    0.921195] pci_bus 0000:02: scanning bus
[    0.921205] pci_bus 0000:02: fixups for bus
[    0.921212] PCI: bus2: Fast back to back transfers enabled
[    0.921250] pci_bus 0000:02: bus scan returning with max=02
[    0.921260] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.921271] pci_bus 0000:00: bus scan returning with max=02
[    0.921283] pci 0000:00:01.0: fixup irq: got 0
[    0.921291] pci 0000:00:01.0: assigning IRQ 00
[    0.921301] pci 0000:00:02.0: fixup irq: got 0
[    0.921307] pci 0000:00:02.0: assigning IRQ 00
[    0.921401] pci 0000:01:00.0: fixup irq: got 39
[    0.921409] pci 0000:01:00.0: assigning IRQ 39
[    0.921447] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.921492] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff]
[    0.921534] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.921572] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.921613] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.921721] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    0.921772] pcieport 0000:00:01.0: enabling bus mastering
[    0.921849] pcieport 0000:00:02.0: enabling bus mastering
[    0.922584] mv_xor f1060800.dma-engine: Marvell shared XOR driver
[    0.981566] mv_xor f1060800.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    0.981937] mv_xor f1060900.dma-engine: Marvell shared XOR driver
[    1.041563] mv_xor f1060900.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    1.162834] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.166258] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 10416666) is a 16550A
[    1.167343] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 22, base_baud = 10416666) is a 16550A
[    1.169535] sata_mv f10a0000.sata-host: version 1.28
[    1.169688] sata_mv f10a0000.sata-host: slots 32 ports 1
[    1.182192] scsi host0: sata_mv
[    1.182474] ata1: SATA max UDMA/133 irq 32
[    1.184371] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    1.196888] libphy: Fixed MDIO Bus: probed
[    1.198089] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.198138] ehci-pci: EHCI PCI platform driver
[    1.198231] ehci-orion: EHCI orion driver
[    1.198422] orion-ehci f1050000.usb-host: EHCI Host Controller
[    1.198483] orion-ehci f1050000.usb-host: new USB bus registered, assigned bus number 1
[    1.198666] orion-ehci f1050000.usb-host: irq 26, io mem 0xf1050000
[    1.220924] orion-ehci f1050000.usb-host: USB 2.0 started, EHCI 1.00
[    1.221215] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.221258] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.221309] usb usb1: Product: EHCI Host Controller
[    1.221341] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.221377] usb usb1: SerialNumber: f1050000.usb-host
[    1.222204] hub 1-0:1.0: USB hub found
[    1.222279] hub 1-0:1.0: 1 port detected
[    1.222806] orion-ehci f1051000.usb-host: EHCI Host Controller
[    1.222866] orion-ehci f1051000.usb-host: new USB bus registered, assigned bus number 2
[    1.223037] orion-ehci f1051000.usb-host: irq 27, io mem 0xf1051000
[    1.250661] orion-ehci f1051000.usb-host: USB 2.0 started, EHCI 1.00
[    1.250909] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.250951] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.251001] usb usb2: Product: EHCI Host Controller
[    1.251034] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.251069] usb usb2: SerialNumber: f1051000.usb-host
[    1.251825] hub 2-0:1.0: USB hub found
[    1.251890] hub 2-0:1.0: 1 port detected
[    1.252960] usbcore: registered new interface driver usblp
[    1.253170] usbcore: registered new interface driver usb-storage
[    1.253630] mousedev: PS/2 mouse device common for all mice
[    1.254734] rtc-mv f10d8500.real-time-clock: rtc core: registered f10d8500.real-time- as rtc0
[    1.255083] i2c /dev entries driver
[    1.258865] orion_wdt: Initial timeout 25 sec
[    1.261608] marvell-cesa f1030000.crypto-engine: CESA device successfully registered
[    1.261887] hidraw: raw HID events driver (C) Jiri Kosina
[    1.262361] usbcore: registered new interface driver usbhid
[    1.262399] usbhid: USB HID core driver
[    1.262623] drop_monitor: Initializing network drop monitor service
[    1.262716] Netfilter messages via NETLINK v0.30.
[    1.262766] ip_set: protocol 6
[    1.263102] NET: Registered protocol family 10
[    1.274209] Segment Routing with IPv6
[    1.274310] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.276039] NET: Registered protocol family 17
[    1.276131] 8021q: 802.1Q VLAN Support v1.8
[    1.276204] Key type dns_resolver registered
[    1.276633] ThumbEE CPU extension supported.
[    1.276670] Registering SWP/SWPB emulation handler
[    1.276701] PJ4 iWMMXt v2 coprocessor enabled.
[    1.277571] registered taskstats version 1
[    1.277608] Loading compiled-in X.509 certificates
[    1.277688] zswap: loaded using pool lzo/zbud
[    1.365635] Key type big_key registered
[    1.372385] Key type encrypted registered
[    1.374582] rtc-mv f10d8500.real-time-clock: setting system clock to 2018-08-11 19:47:16 UTC (1534016836)
[    1.374777] PM: Hibernation image not present or could not be loaded.
[    1.600628] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.680631] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    1.710825] ata1.00: CFA: 1GB ATA Flash Disk, AD B612J, max UDMA/66
[    1.710864] ata1.00: 2001888 sectors, multi 0: LBA 
[    1.740845] ata1.00: configured for UDMA/66
[    1.751515] scsi 0:0:0:0: Direct-Access     ATA      1GB ATA Flash Di 612J PQ: 0 ANSI: 5
[    1.752994] sd 0:0:0:0: [sda] 2001888 512-byte logical blocks: (1.02 GB/977 MiB)
[    1.753111] sd 0:0:0:0: [sda] Write Protect is off
[    1.753148] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.753257] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.755420]  sda: sda1 sda2 sda3
[    1.757273] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.758922] Freeing unused kernel memory: 1024K
[    1.792803] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    1.792859] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.792897] usb 1-1: Product: USB2.0 Hub
[    1.793880] hub 1-1:1.0: USB hub found
[    1.794297] hub 1-1:1.0: 4 ports detected
[    1.859426] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.860525] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.863162] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.863731] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.863873] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.869861] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.870451] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.871180] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.871663] random: udevadm: uninitialized urandom read (16 bytes read)
[    1.872248] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.110687] usb 1-1.1: new low-speed USB device number 3 using orion-ehci
[    2.253493] i2c i2c-0: Added multiplexed i2c bus 1
[    2.263205] i2c i2c-0: Added multiplexed i2c bus 2
[    2.265070] i2c i2c-0: Added multiplexed i2c bus 3
[    2.268945] usb 1-1.1: New USB device found, idVendor=04f2, idProduct=0116
[    2.268998] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.269050] usb 1-1.1: Product: USB Keyboard
[    2.269081] usb 1-1.1: Manufacturer: CHICONY
[    2.275861] input: CHICONY USB Keyboard as /devices/platform/mbus/mbus:internal-regs/f1050000.usb-host/usb1/1-1/1-1.1/1-1.1:1.0/0003:04F2:0116.0001/input/input0
[    2.341511] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-f1050000.usb-host-1.1/input0
[    2.359820] sdhci: Secure Digital Host Controller Interface driver
[    2.359873] sdhci: Copyright(c) Pierre Ossman
[    2.360549] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.432177] mmc0: SDHCI controller on f1090000.sdio-host [f1090000.sdio-host] using DMA
[    2.440692] usb 1-1.4: new high-speed USB device number 4 using orion-ehci
[    2.492835] mmc1: SDHCI controller on f1092000.sdio-host [f1092000.sdio-host] using DMA
[    2.518821] random: fast init done
[    2.591677] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5530
[    2.591737] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.591788] usb 1-1.4: Product: Cruzer
[    2.591818] usb 1-1.4: Manufacturer: SanDisk
[    2.591850] usb 1-1.4: SerialNumber: 20060775210A3B80C5B2
[    2.592607] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    2.608354] scsi host1: usb-storage 1-1.4:1.0
[    3.459780] usbcore: registered new interface driver uas
[    3.691874] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.26 PQ: 0 ANSI: 5
[    3.706594] sd 1:0:0:0: [sdb] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[    3.707327] sd 1:0:0:0: [sdb] Write Protect is off
[    3.707369] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[    3.708092] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.713695]  sdb: sdb1
[    3.716955] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    8.887861] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[    8.909350] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[   11.326099] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   11.330374] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   12.067535] pci 0000:00:01.0: enabling bus mastering
[   12.067553] rt2800pci 0000:01:00.0: enabling device (0140 -> 0142)
[   12.067618] rt2800pci 0000:01:00.0: enabling bus mastering
[   12.067629] rt2800pci 0000:01:00.0: enabling Mem-Wr-Inval
[   12.077753] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3090, rev 3212 detected
[   12.090457] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[   12.123848] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.107530] rt2800pci 0000:01:00.0 wlp1s0: renamed from wlan0
[   13.740743] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[   14.094865] random: crng init done
root@debian:~#

I'm not sure what to do next. I've checked the uImage of the original system but it doesn't have a dtb file appended. Is there any more info that can be extracted by booting back into ubuntu 10 on the internal memory?

Koen

Re: LoRa Being Worked On For The Linux Kernel - Allows Long-Range, Low-Power Wireless

$
0
0
bodhi Wrote:
-------------------------------------------------------
> Pretty cool news:
>
> https://www.phoronix.com/forums/forum/software/mobile-linux/1039376-lora-being-worked-on-for-the-linux-kernel-allows-long-range-low-power-wireless
>
> Open source world is calling Joey :)

Easily a lifesaver out in the sticks and as a backup for cell service. You'd think in a congested neighborhood lower frequencies should be less prone to reflecting off every surface so bad.

I love this already, and even with bandwidth in the kHz, that's perfect for messaging and keeping a pilot light on.- which, let's say a global event shuts down cell service and many neighbors have a bookmark to log in - at that point give the best ones a login for the secondary doomsday neighborhood web server. LOL

Any of you have a fort when you were a kid? This is what it feels like... treehouse to treehouse... "Mr Farmer this is code name Rice paper - paging low salt Triscuits... over" LOL

Re: Changes in SD Card access in U-Boot 2017.07-tld-1?

$
0
0
Yea, I have tested another SD card briefly, and seems to have the same results...

Sleep period doesn't really help. I also tried "setenv devices mmc" (that just boot from MMC w/o touching USB/IDE, right?) which doesn't help either.

Do you recall which version of uBoot you started with the 'improved' MMC access? I am thinking of downgrading the uBoot to make sure it boots everytime...
Viewing all 47104 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>