i'm trying to make jailhouse work on my ZCU102 v1.0 (production)
using petalinux 2017.4 following this documentation :
https://github.com/siemens/jailhouse/blob/master/Documentation/setup-on-zynqmp-zcu102.md
the second uart doesn't work. After a question on the Xilinx forum
i can activate /dev/ttyPS1 on the zcu102 and verify it using
echo hello > /dev/ttyPS1
but i still can't use it with jailhouse.
i have checked with the gic-demo and linux-demo without any success.
i can use the debug console with gic-demo, but that's all.
this command should work, but it doesn't :
jailhouse cell linux zynqmp-zcu102-linux-demo.cell Image -d inmate-zynqmp-zcu102.dtb -i rootfs.cpio -c "console=ttyPS1,115200"
in the zynqmp-zcu102-linux-demo.c file, the uart address is correct :
.mem_regions = {
/* UART */ {
.phys_start = 0xff010000,
.virt_start = 0xff010000,
.size = 0x1000,
.flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
JAILHOUSE_MEM_IO | JAILHOUSE_MEM_ROOTSHARED,
},
what can i do ?
regards
C.Alexandre
your solution : cat /dev/ttyPS1 &
works with the gic-demo cell but it doesn't with the linux demo example.
the command :
jailhouse cell linux zynqmp-zcu102-linux-demo.cell Image -d inmate-zynqmp-zcu102.dtb -i rootfs.cpio -c "console=ttyPS1,9600"
doesn't output anything on the second uart.
regards
C.Alexandre
--
You received this message because you are subscribed to the Google Groups "Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
you are absolutely right. I shall use ttyPS0 to output on ttyPS1.
but the speed setting works properly. As my second uart speed si equal to 9600, i shall use the command :
jailhouse cell linux zynqmp-zcu102-linux-demo.cell Image -d inmate-zynb -i rootfs.cpio -c "console=ttyPS0,9600"
regards
C.Alexandre
now i can see the output of the console and monitor the linux boot.
And of course, linux doesn't boot and stop with a kernel panic :
[ 9.148409] NET: Registered protocol family 1
[ 9.200596] RPC: Registered named UNIX socket transport module.
[ 9.271265] RPC: Registered udp transport module.
[ 9.327501] RPC: Registered tcp transport module.
[ 9.383752] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 9.814860] Kernel panic - not syncing: write error
[ 9.872207] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-xilinx-v2017.4 #2
[ 9.957622] Hardware name: Jailhouse cell on ZynqMP ZCU102 (DT)
[ 10.028458] Call trace:
[ 10.057635] [<ffffff8008088138>] dump_backtrace+0x0/0x198
[ 10.122215] [<ffffff80080882e4>] show_stack+0x14/0x20
[ 10.182634] [<ffffff80083de594>] dump_stack+0x94/0xb8
[ 10.243054] [<ffffff800812e9f8>] panic+0x114/0x25c
[ 10.300347] [<ffffff8008cc2d8c>] populate_rootfs+0x40/0x110
[ 10.367014] [<ffffff80080830b8>] do_one_initcall+0x38/0x128
[ 10.433683] [<ffffff8008cc0c94>] kernel_init_freeable+0x140/0x1e0
[ 10.506604] [<ffffff80089494e0>] kernel_init+0x10/0x100
[ 10.569104] [<ffffff8008082e80>] ret_from_fork+0x10/0x50
[ 10.632647] SMP: stopping secondary CPUs
[ 10.679537] ---[ end Kernel panic - not syncing: write error
i can see a write error, but i don't know why.
i have attached the boot log file.
Any hints ?
Regards
C.Alexandre
i'm trying to make jailhouse work on my ZCU102 v1.0 (production)
using petalinux 2017.4 following this documentation :
the second uart doesn't work. After a question on the Xilinx forum
i can activate /dev/ttyPS1 on the zcu102 and verify it using
echo hello > /dev/ttyPS1
but i still can't use it with jailhouse.
i have checked with the gic-demo and linux-demo without any success.
i can use the debug console with gic-demo, but that's all.
this command should work, but it doesn't :
jailhouse cell linux zynqmp-zcu102-linux-demo.cell Image -d inmate-zynqmp-zcu102.dtb -i rootfs.cpio -c "console=ttyPS1,115200"
in the zynqmp-zcu102-linux-demo.c file, the uart address is correct :
.mem_regions = {
/* UART */ {
.phys_start = 0xff010000,
.virt_start = 0xff010000,
.size = 0x1000,
.flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
JAILHOUSE_MEM_IO | JAILHOUSE_MEM_ROOTSHARED
Penis Envy magic mushrooms are three times more potent than other mushrooms. The effects of Penis Envy magic mushrooms may come on quickly due to higher levels of psilocin than psilocybin.About Penis EnvyPenis Envy magic mushrooms can impact you differently based upon a variety of factors, like your size, weight, your state of health, whether you have taken them before, the amount you take, and more. The setting in which you are taking them and who you are with are critical factors. Being in nature, in a safe, calm and tranquil setting, with no pending pressures or obligations is ideal for the user.Trip Level 0: MicrodosingRecommended dosage: 0.2 – 0.5 g. dried mushrooms – A micro-dose is a sub-perceptual amount of mushrooms. Take this every 2-3 days to boost creativity or feel less anxious. Microdosing trip levels capsules. Added as level 0, it’s meant to be taken along with your day-to-day routine.Trip Level 1: Happy go luckyRecommended dosage: 0.8 – 1 g. dried mushrooms – The effects are mild and similar to being high on weed. Music starts to feel better, strangers seem more friendly and the mind is able to lose some control. You could have mild visual enhancements or some sound distortion, but these will be subtle.Trip Level 2: Beginner’s paradiseRecommended dosage: 1 – 1.5 g. dried mushrooms – Consistent sensorial accentuation, colors becoming brighter and a light body high. Level 2 can be a more intense form of Trip Level 1, but with the right dosage it can be something more. Be prepared for the beginnings of visual and auditory hallucinations: objects moving and coming to life along with geometrical forms when you close your eyes. It will be harder to concentrate and communicate and you will notice an increase in creativity along with an enhanced sensation, lightness and euphoria.Trip Level 3: Classic psychedelic tripRecommended dosage: 1.5 – 3 g. dried mushrooms – Trip Level 3 is great for beginners who want to jump in the “real” psychedelic experience, without overdoing the dosage. This level is where visual hallucinations along with the appearance of patterns and fractals will be evident. No more hinting or subtle flashes of visuals, it’s happening for real. The surface of the object you’re observing will become shiny and moving, as your field of depth is altered. Distortions in the aptitude to measure the passage of time, might cause an 1 hour to feel like an eternity.Level 4: Flying with the stars https:t.me/Ricko_swavy8Recommended dosage: 3 – 4 g. dried mushrooms – Strong hallucinations take over: a psychedelic flood of shapes, contours and colors will blend together and hit the shores of your consciousness. There’s no stopping the waves in Level 4. There will be some moments when you will lose touch reality. Random, non-existent objects will appear and the concept of time will fade away to the background. Intriguing to some, scary to others, this is the level where psychedelics can really be powerful, life-altering and mind expanding. Keep in mind that this dosage is only recommend for experience users.Level 5