Profile

Cover photo
Marek Vašut
Works at DENX Software Engineering GmbH.
Attends Charles University in Prague
Lives in Prague
279 followers|444,009 views
AboutPosts

Stream

Marek Vašut

Shared publicly  - 
 
Background When traveling, Elizabeth and I are always a little bit extra cautious; we hide money in special belts, we carry emergency cards in 3 separate places, we never withdraw more than $100 from the ATM. One precaution Elizabeth always takes, is covering her PIN number with her left hand while she types it with …
7
Add a comment...

Marek Vašut

Shared publicly  - 
 
U-Boot USB test equipment, aka. big USB pile of evil.
9
Stephen Warren's profile photoMarek Vašut's profile photoPaul Wayper's profile photo
3 comments
 
I remember when +Andrew Tridgell was testing out the patches to make sure that the Linux FAT drivers didn't violate Microsoft's patent on file naming (ugh), so he bought a bunch of cheap cameras, music players and other devices that took memory cards or USB flash drives.  He said some of them were the most dodgy, unusable interfaces you could imagine :-)
Add a comment...

Marek Vašut

Shared publicly  - 
 
So with hacked up futex code in kernel *, I can even start Linux to a certain extent in QEMU on Nios2 :-)

* cmpxchg_futex_value_locked() accesses 0x0 on nios2, which the qemu port doesn't like very well. For now, I just return from futex_detect_cmpxchg() right away. The scary part is that 0x0 may not be a valid avalon MM address on nios2.

qemu$ ./nios2-softmmu/qemu-system-nios2 -machine nios2-10m50-ghrd -kernel ../vmlinux -dtb ../10m50_devboard.dtb -append console=ttyS0,115200 -nographic
[    0.000000] Linux version 4.6.0-rc4-next-20160419-00019-g3f4a2c0-dirty (marex@kurokawa)(gcc version 5.3.0 (GCC) ) #17 Sun Apr 24 23:14:24 CEST 2016
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c83d9ff8, node_mem_map c83fb220
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: debug console=ttyS0,115200
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 124712K/262144K available (3098K kernel code, 102K rwdata, 636K rodata, 104K init, 106K bss, 137432K reserved, 0K cma-reserved)
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] clocksource: nios2-clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 25483472618 ns
[    0.000000] Console: colour dummy device 80x25
[    0.000000] Calibrating delay loop (skipped), value calculated using timer frequency.. 150.00 BogoMIPS (lpj=300000)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.016000] devtmpfs: initialized
[    0.016000] cpu cpu0: Error -2 creating of_node link
[    0.016000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.020000] NET: Registered protocol family 16
[    0.040000] clocksource: Switched to clocksource nios2-clksrc
[    0.044000] NET: Registered protocol family 2
[    0.044000] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.044000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.044000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.044000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.044000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.044000] NET: Registered protocol family 1
[    0.044000] RPC: Registered named UNIX socket transport module.                                                                                
[    0.044000] RPC: Registered udp transport module.                                                                                              
[    0.044000] RPC: Registered tcp transport module.                                                                                              
[    0.044000] RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                          
[    0.044000] futex hash table entries: 256 (order: -1, 3072 bytes)                                                                              
[    0.044000] workingset: timestamp_bits=29 max_order=15 bucket_order=0                                                                          
[    0.044000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.                                                                               
[    0.044000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)                                                               
[    0.044000] io scheduler noop registered
[    0.044000] io scheduler deadline registered
[    0.044000] io scheduler cfq registered (default)
[    0.044000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.044000] console [ttyS0] disabled
[    0.044000] 18001600.serial: ttyS0 at MMIO 0x18001600 (irq = 2, base_baud = 3125000) is a Altera 16550 FIFO32
[    0.044000] console [ttyS0] enabled
[    0.044000] 18001530.serial: ttyJ0 at MMIO 0x18001530 (irq = 7, base_baud = 0) is a Altera JTAG UART
[    0.044000] loop: module loaded
[    0.044000] libphy: altera_tse: probed
[    0.044000] altera_tse 400.ethernet (unnamed net_device) (uninitialized): MDIO bus altera_tse-0: created
[    0.044000] altera_tse 400.ethernet: Altera TSE MAC version 0.0 at 0x00000400 irq 3/4
3
Add a comment...

Marek Vašut

Shared publicly  - 
 
I wonder if this uses at least the rotor blades from the original ...
16
David Anders (prpplague)'s profile photoMarcin “hrw” Juszkiewicz's profile photoBert Vermeulen's profile photoJac Goudsmit's profile photo
4 comments
 
I don't see any "stealth mode" or "turbo boost" buttons either
Add a comment...

Marek Vašut

Shared publicly  - 
 
More goodies today
4
Attila Kinali's profile photoMarek Vašut's profile photo
2 comments
 
Local j-dealer :-)
Add a comment...

Marek Vašut

Shared publicly  - 
6
Alexandre Courbot's profile photo
 
Oldies but goodies. There is a whole series of these. The ones on dating are hilarious.
Add a comment...
In his circles
208 people
Have him in circles
279 people
Conrad Gomes's profile photo
Haojian Zhuang's profile photo
Ravi Koganti's profile photo
Nicolas Ferre's profile photo
Matt Porter (mdp)'s profile photo
Moni Smith's profile photo
Uwe Hermann's profile photo
Bert Vermeulen's profile photo
sleep walker's profile photo

Marek Vašut

Shared publicly  - 
 
 
Woot! Tom posted information about AMD's new Secure Memory Encryption publicly. This is going to rock. AMD are my absolute favorite x86 vendor.
View original post
1
XorA's profile photo
XorA
+
1
2
1
 
x86 finally catches up on the 8051 :-)
Add a comment...

Marek Vašut

Shared publicly  - 
 
I picked the QEMU/Nios2 patches by Chris Wulff this weekend and updated them to qemu/master. U-Boot starts, Linux not yet. Since those patches were against qemu 1.2 or so, there's a lot of work to be done.

qemu$ ./nios2-softmmu/qemu-system-nios2 -machine nios2-10m50-ghrd -kernel ../u-boot -nographic
qemu-system-nios2: Unable to get size of device tree file '10m50_ghrd-nios2.dtb'


U-Boot 2016.05-rc2-00007-gd42fdb4-dirty (Apr 24 2016 - 18:05:31 +0200)

CPU: Nios-II
DRAM: 128 MiB
Flash: 64 MiB
* Warning - bad CRC, using default environment

Model: Altera NiosII Max10
SYSID: 00000000, Thu Jan 01 00:00:00 1970
Net:
Warning: ethernet@400(eth0) using random MAC address - 6a:ed:6f:11:a1:3d
eth0: ethernet@400
=> ver

U-Boot 2016.05-rc2-00007-gd42fdb4-dirty (Apr 24 2016 - 18:05:31 +0200)
nios2-poky-linux-gcc (GCC) 5.3.0
GNU ld (GNU Binutils) 2.25.1
=>
5
Add a comment...

Marek Vašut

Shared publicly  - 
 
Robot without arduino
8
Add a comment...

Marek Vašut

Shared publicly  - 
2
Marcin “hrw” Juszkiewicz's profile photoAmaury Pouly's profile photoDinh Nguyen's profile photoMarek Vašut's profile photo
4 comments
 
It is surprisingly good. It smells like strawberry bubblegum, but tastes a bit like sprite or ramune.
Add a comment...

Marek Vašut

Shared publicly  - 
 
 
スマートウォッチ向けLinux カーネルを使ったOS。
OE使っているのね。

http://asteroidos.org/
 ·  Translate
1 comment on original post
1
Add a comment...
People
In his circles
208 people
Have him in circles
279 people
Conrad Gomes's profile photo
Haojian Zhuang's profile photo
Ravi Koganti's profile photo
Nicolas Ferre's profile photo
Matt Porter (mdp)'s profile photo
Moni Smith's profile photo
Uwe Hermann's profile photo
Bert Vermeulen's profile photo
sleep walker's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Prague
Links
Work
Employment
  • DENX Software Engineering GmbH.
    Contractor, 2011 - present
Education
  • Charles University in Prague
    present
Basic Information
Gender
Male